Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001743/0.001743, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002174/0.002174, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",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.002071/0.002071, allocations: 69.17 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2854, allocations: 170 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04028/0.3257, allocations: 31.51 MB / 1.313 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.3436, allocations: 10.28 MB / 1.323 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/0.3468, allocations: 198.5 kB / 1.324 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.3578, allocations: 3.73 MB / 1.327 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00568/0.3634, allocations: 1.952 MB / 1.329 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005701/0.3691, allocations: 2.149 MB / 1.331 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009341/0.3785, allocations: 7.326 MB / 1.338 GB, free: 3.059 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.3885, allocations: 5.084 MB / 1.343 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005415/0.3939, allocations: 3.295 MB / 1.347 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/0.4, allocations: 3.453 MB / 1.35 GB, free: 7.082 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.4017, allocations: 0.6484 MB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004712/0.4064, allocations: 1.658 MB / 1.352 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.4104, allocations: 2.603 MB / 1.355 GB, free: 2.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003878/0.4142, allocations: 2.346 MB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.428, allocations: 10.18 MB / 1.367 GB, free: 5.602 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.428, allocations: 4 kB / 1.367 GB, free: 5.598 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.428, allocations: 3.938 kB / 1.367 GB, free: 5.594 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002306/0.4282, allocations: 0 / 1.367 GB, free: 5.594 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01067/0.4389, allocations: 5.042 MB / 1.372 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4389, allocations: 8.031 kB / 1.372 GB, free: 496 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/0.44, allocations: 0.682 MB / 1.373 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.4452, allocations: 0.9813 MB / 1.374 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.4525, allocations: 2.999 MB / 1.376 GB, free: 11.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.4528, allocations: 353.7 kB / 1.377 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009772/0.4538, allocations: 468.2 kB / 1.377 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.4679, allocations: 7.972 MB / 1.385 GB, free: 2.543 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.468, allocations: 27.77 kB / 1.385 GB, free: 2.516 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005061/0.4686, allocations: 196 kB / 1.385 GB, free: 2.324 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003804/0.4689, allocations: 316.9 kB / 1.386 GB, free: 2.012 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.4796, allocations: 5.706 MB / 1.391 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03263/0.5122, allocations: 22.68 MB / 1.413 GB, free: 4.957 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.515, allocations: 1.561 MB / 1.415 GB, free: 3.391 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.5166, allocations: 1.113 MB / 1.416 GB, free: 2.277 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.5167, allocations: 13.31 kB / 1.416 GB, free: 2.262 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.5167, allocations: 51.88 kB / 1.416 GB, free: 2.203 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 3.797e-06/0.5167, allocations: 4 kB / 1.416 GB, free: 2.199 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01429/0.531, allocations: 6.207 MB / 1.422 GB, free: 11.95 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.5311, allocations: 64.72 kB / 1.422 GB, free: 11.87 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.5333, allocations: 1.523 MB / 1.424 GB, free: 10.3 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.5334, allocations: 45.7 kB / 1.424 GB, free: 10.25 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.5349, allocations: 2.077 MB / 1.426 GB, free: 8.152 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.5354, allocations: 0.4919 MB / 1.426 GB, free: 7.656 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/0.536, allocations: 351.4 kB / 1.426 GB, free: 7.305 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5361, allocations: 309.1 kB / 1.427 GB, free: 7 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.5375, allocations: 0.9096 MB / 1.428 GB, free: 6.09 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.5395, allocations: 1.597 MB / 1.429 GB, free: 4.184 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/0.5432, allocations: 2.725 MB / 1.432 GB, free: 1.145 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.5432, allocations: 8 kB / 1.432 GB, free: 1.137 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006525/0.5497, allocations: 3.512 MB / 1.435 GB, free: 13.58 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.5498, allocations: 16 kB / 1.435 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.5498, allocations: 27.94 kB / 1.435 GB, free: 13.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.5526, allocations: 0.9 MB / 1.436 GB, free: 12.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.5538, allocations: 355.3 kB / 1.437 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.5773, allocations: 21.74 MB / 1.458 GB, free: 5.141 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.5789, allocations: 104 kB / 1.458 GB, free: 5.039 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.579, allocations: 88 kB / 1.458 GB, free: 4.953 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0026/0.5816, allocations: 1.608 MB / 1.46 GB, free: 3.336 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/0.582, allocations: 230.5 kB / 1.46 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005569/0.5876, allocations: 2.955 MB / 1.463 GB, free: 108 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.5876, allocations: 12 kB / 1.463 GB, free: 96 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.5876, allocations: 12 kB / 1.463 GB, free: 84 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.5876, allocations: 7.969 kB / 1.463 GB, free: 76 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.6, allocations: 6.715 MB / 1.469 GB, free: 9.207 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6, allocations: 4 kB / 1.469 GB, free: 9.203 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.6009, allocations: 175.7 kB / 1.469 GB, free: 9.031 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/0.6033, allocations: 0.8262 MB / 1.47 GB, free: 8.168 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.6034, allocations: 24 kB / 1.47 GB, free: 8.145 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/0.6253, allocations: 20.6 MB / 1.49 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/0.6253, allocations: 8.109 kB / 1.49 GB, free: 2.156 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/0.6308, allocations: 3.007 MB / 1.493 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.632, allocations: 398.4 kB / 1.494 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.6322, allocations: 32 kB / 1.494 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/0.633, allocations: 71.91 kB / 1.494 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/0.6334, allocations: 140.6 kB / 1.494 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.734e-05/0.6335, allocations: 36 kB / 1.494 GB, free: 14.37 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001438/0.6349, allocations: 0.9717 MB / 1.495 GB, free: 13.38 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6349, allocations: 0 / 1.495 GB, free: 13.38 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002696/0.6376, allocations: 0.7891 MB / 1.496 GB, free: 12.59 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005666/0.6433, allocations: 3.599 MB / 1.499 GB, free: 8.867 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006267/0.6496, allocations: 3.926 MB / 1.503 GB, free: 4.789 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.6496, allocations: 0 / 1.503 GB, free: 4.789 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004006/0.6536, allocations: 2.658 MB / 1.506 GB, free: 1.977 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.6568, allocations: 0.7353 MB / 1.506 GB, free: 1.266 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03663/0.6934, allocations: 22.53 MB / 1.528 GB, free: 9.715 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/0.6974, allocations: 2.565 MB / 1.531 GB, free: 7.121 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001689/0.6991, allocations: 454 kB / 1.531 GB, free: 6.676 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/0.7013, allocations: 1.538 MB / 1.533 GB, free: 5.137 MB / 1.232 GB Notification: Performance of SimCode: time 1.393e-06/0.7013, allocations: 0 / 1.533 GB, free: 5.137 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/0.8457, allocations: 65.76 MB / 1.597 GB, free: 4.363 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.09, allocations: 7.156 kB / 1.597 GB, free: 4.359 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 21.70593661023304]