Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 101.9 kB / 19.73 MB, free: 1.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 213.8 kB / 23.03 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.103/3.103, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 66.8 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3009, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01371/0.3146, allocations: 10.68 MB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009468/0.3241, allocations: 5.649 MB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.3251, allocations: 67.38 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004504/0.3296, allocations: 1.718 MB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.3326, allocations: 1.182 MB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.3347, allocations: 0.8192 MB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.3375, allocations: 2.123 MB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.339, allocations: 1.033 MB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.3404, allocations: 0.8913 MB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3419, allocations: 0.9611 MB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.3422, allocations: 116 kB / 1.37 GB, free: 6.605 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.3442, allocations: 1.068 MB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006673/0.3449, allocations: 0.5452 MB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009905/0.3459, allocations: 0.6491 MB / 1.372 GB, free: 4.336 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.3498, allocations: 2.451 MB / 1.375 GB, free: 1.875 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3498, allocations: 0 / 1.375 GB, free: 1.875 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3498, allocations: 0 / 1.375 GB, free: 1.875 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.122e-05/0.3499, allocations: 0 / 1.375 GB, free: 1.875 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003335/0.3532, allocations: 1.84 MB / 1.376 GB, free: 15.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3533, allocations: 8.031 kB / 1.376 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.924e-05/0.3533, allocations: 34.73 kB / 1.376 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/0.3536, allocations: 219.4 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.3582, allocations: 0.6709 MB / 1.377 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.3599, allocations: 0.9174 MB / 1.378 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.822e-05/0.36, allocations: 98.89 kB / 1.378 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.3602, allocations: 132.2 kB / 1.378 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.3635, allocations: 2.407 MB / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.3636, allocations: 15.92 kB / 1.381 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.3637, allocations: 59.97 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/0.3639, allocations: 166.2 kB / 1.381 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.3669, allocations: 1.871 MB / 1.383 GB, free: 9.078 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.3775, allocations: 9.405 MB / 1.392 GB, free: 15.37 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.3818, allocations: 1.875 MB / 1.394 GB, free: 13.49 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.3827, allocations: 0.5542 MB / 1.394 GB, free: 12.94 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.3828, allocations: 20.98 kB / 1.394 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.3828, allocations: 47.5 kB / 1.394 GB, free: 12.86 MB / 1.092 GB Notification: Performance of pre-optimization done (n=103): time 3.487e-06/0.3828, allocations: 0 / 1.394 GB, free: 12.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.005799/0.3886, allocations: 3.122 MB / 1.397 GB, free: 9.723 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3887, allocations: 68.39 kB / 1.397 GB, free: 9.645 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.3898, allocations: 0.9205 MB / 1.398 GB, free: 8.707 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.3898, allocations: 49.64 kB / 1.398 GB, free: 8.652 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.3904, allocations: 0.7454 MB / 1.399 GB, free: 7.902 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.3907, allocations: 412.5 kB / 1.4 GB, free: 7.496 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/0.3911, allocations: 283.4 kB / 1.4 GB, free: 7.211 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3913, allocations: 309.1 kB / 1.4 GB, free: 6.906 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/0.3922, allocations: 0.6129 MB / 1.401 GB, free: 6.293 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.3935, allocations: 1.102 MB / 1.402 GB, free: 4.973 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.396, allocations: 1.835 MB / 1.404 GB, free: 2.918 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.396, allocations: 4 kB / 1.404 GB, free: 2.914 MB / 1.092 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003502/0.3995, allocations: 2.101 MB / 1.406 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.3995, allocations: 12 kB / 1.406 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.3996, allocations: 24.09 kB / 1.406 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008228/0.4004, allocations: 258.6 kB / 1.406 GB, free: 480 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.4017, allocations: 371.4 kB / 1.406 GB, free: 108 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009175/0.4108, allocations: 10.74 MB / 1.417 GB, free: 4.445 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.4121, allocations: 131.8 kB / 1.417 GB, free: 4.316 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4122, allocations: 71.98 kB / 1.417 GB, free: 4.246 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00063/0.4128, allocations: 405.4 kB / 1.417 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.413, allocations: 135.2 kB / 1.417 GB, free: 3.707 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.4159, allocations: 1.673 MB / 1.419 GB, free: 2.004 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4159, allocations: 12 kB / 1.419 GB, free: 1.992 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4159, allocations: 4 kB / 1.419 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.4159, allocations: 7.984 kB / 1.419 GB, free: 1.98 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.4209, allocations: 3.116 MB / 1.422 GB, free: 14.72 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.4209, allocations: 8 kB / 1.422 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.4218, allocations: 215.6 kB / 1.422 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.4225, allocations: 250.5 kB / 1.423 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.4226, allocations: 32.05 kB / 1.423 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008819/0.4314, allocations: 10.71 MB / 1.433 GB, free: 2.57 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.4314, allocations: 11.94 kB / 1.433 GB, free: 2.559 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.4342, allocations: 1.804 MB / 1.435 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.4347, allocations: 239 kB / 1.435 GB, free: 420 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.4349, allocations: 28 kB / 1.435 GB, free: 392 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/0.4356, allocations: 87.88 kB / 1.435 GB, free: 304 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.4358, allocations: 112.6 kB / 1.435 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.4358, allocations: 36 kB / 1.435 GB, free: 156 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000798/0.4366, allocations: 0.6138 MB / 1.436 GB, free: 15.53 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.4366, allocations: 0 / 1.436 GB, free: 15.53 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001306/0.4379, allocations: 396 kB / 1.436 GB, free: 15.14 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00303/0.441, allocations: 2.39 MB / 1.439 GB, free: 12.64 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003535/0.4445, allocations: 2.402 MB / 1.441 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.4445, allocations: 4 kB / 1.441 GB, free: 10.13 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.4466, allocations: 1.579 MB / 1.443 GB, free: 8.453 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.4482, allocations: 357.5 kB / 1.443 GB, free: 8.113 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.4641, allocations: 11.55 MB / 1.454 GB, free: 11.82 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.4649, allocations: 0.7374 MB / 1.455 GB, free: 11.04 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009285/0.4658, allocations: 359.3 kB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007271/0.4665, allocations: 0.5344 MB / 1.456 GB, free: 10.15 MB / 1.154 GB Notification: Performance of SimCode: time 6.92e-07/0.4665, allocations: 0 / 1.456 GB, free: 10.15 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07721/0.5437, allocations: 30.64 MB / 1.486 GB, free: 12.09 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.99, allocations: 14.64 kB / 1.486 GB, free: 12.07 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.749140176922083]