Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001281/0.001281, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001398/0.001398, allocations: 219.9 kB / 23.03 MB, free: 4.945 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.059/3.059, allocations: 0.5003 GB / 0.8062 GB, free: 28.35 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001929/0.001929, allocations: 64.67 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3317, allocations: 179 MB / 1.345 GB, free: 0 / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0375/0.3692, allocations: 31.48 MB / 1.376 GB, free: 424 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.3869, allocations: 10.26 MB / 1.386 GB, free: 6.125 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.3899, allocations: 194.6 kB / 1.386 GB, free: 5.934 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009878/0.3998, allocations: 3.734 MB / 1.39 GB, free: 2.191 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006929/0.4067, allocations: 1.944 MB / 1.392 GB, free: 244 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0057/0.4124, allocations: 2.147 MB / 1.394 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009155/0.4216, allocations: 7.319 MB / 1.401 GB, free: 6.75 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007459/0.429, allocations: 5.158 MB / 1.406 GB, free: 1.473 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.4343, allocations: 3.295 MB / 1.409 GB, free: 14.17 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005895/0.4402, allocations: 3.668 MB / 1.413 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001704/0.4419, allocations: 0.6445 MB / 1.414 GB, free: 9.844 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/0.4467, allocations: 1.661 MB / 1.415 GB, free: 8.18 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003742/0.4504, allocations: 2.623 MB / 1.418 GB, free: 5.551 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004405/0.4548, allocations: 2.335 MB / 1.42 GB, free: 3.207 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.4662, allocations: 10.19 MB / 1.43 GB, free: 8.988 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4662, allocations: 4 kB / 1.43 GB, free: 8.984 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.644e-06/0.4662, allocations: 0 / 1.43 GB, free: 8.984 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002181/0.4664, allocations: 0 / 1.43 GB, free: 8.984 MB / 1.123 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.00929/0.4757, allocations: 5.037 MB / 1.435 GB, free: 3.887 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4758, allocations: 15.97 kB / 1.435 GB, free: 3.871 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001384/0.4759, allocations: 125.5 kB / 1.435 GB, free: 3.746 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001016/0.4769, allocations: 0.682 MB / 1.436 GB, free: 3.055 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.4819, allocations: 0.9813 MB / 1.437 GB, free: 2.07 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006174/0.4881, allocations: 2.995 MB / 1.44 GB, free: 15.01 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.4884, allocations: 357.7 kB / 1.44 GB, free: 14.66 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.4898, allocations: 460.3 kB / 1.44 GB, free: 14.21 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.504, allocations: 7.968 MB / 1.448 GB, free: 5.816 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.5042, allocations: 35.8 kB / 1.448 GB, free: 5.781 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004691/0.5046, allocations: 200 kB / 1.448 GB, free: 5.586 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003407/0.505, allocations: 309 kB / 1.449 GB, free: 5.281 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009832/0.5148, allocations: 5.71 MB / 1.454 GB, free: 15.55 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02908/0.5439, allocations: 22.69 MB / 1.476 GB, free: 8.203 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.5463, allocations: 1.552 MB / 1.478 GB, free: 6.645 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.5478, allocations: 1.12 MB / 1.479 GB, free: 5.523 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.5479, allocations: 13.31 kB / 1.479 GB, free: 5.508 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.5479, allocations: 55.86 kB / 1.479 GB, free: 5.445 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 3.947e-06/0.5479, allocations: 4 kB / 1.479 GB, free: 5.441 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01289/0.5608, allocations: 6.207 MB / 1.485 GB, free: 15.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.5608, allocations: 68.72 kB / 1.485 GB, free: 15.11 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.5627, allocations: 1.484 MB / 1.487 GB, free: 13.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.5628, allocations: 45.7 kB / 1.487 GB, free: 13.52 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.5641, allocations: 2.069 MB / 1.489 GB, free: 11.44 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.5645, allocations: 0.5074 MB / 1.489 GB, free: 10.93 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/0.5651, allocations: 347.4 kB / 1.489 GB, free: 10.58 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5652, allocations: 305.1 kB / 1.49 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.5664, allocations: 0.9135 MB / 1.491 GB, free: 9.367 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.5682, allocations: 1.597 MB / 1.492 GB, free: 7.461 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.5714, allocations: 2.729 MB / 1.495 GB, free: 4.418 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.5714, allocations: 4 kB / 1.495 GB, free: 4.414 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005828/0.5773, allocations: 3.516 MB / 1.498 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.5773, allocations: 19.94 kB / 1.498 GB, free: 0.832 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.5773, allocations: 20 kB / 1.498 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.5798, allocations: 0.9001 MB / 1.499 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.5809, allocations: 351.4 kB / 1.5 GB, free: 15.53 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.602, allocations: 21.75 MB / 1.521 GB, free: 8.406 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.6036, allocations: 99.95 kB / 1.521 GB, free: 8.309 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.6038, allocations: 88 kB / 1.521 GB, free: 8.223 MB / 1.217 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.002591/0.6064, allocations: 1.607 MB / 1.523 GB, free: 6.605 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/0.6068, allocations: 218.6 kB / 1.523 GB, free: 6.391 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/0.612, allocations: 2.959 MB / 1.526 GB, free: 3.383 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.612, allocations: 12 kB / 1.526 GB, free: 3.371 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/0.6121, allocations: 19.98 kB / 1.526 GB, free: 3.352 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.6121, allocations: 7.922 kB / 1.526 GB, free: 3.344 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.6238, allocations: 6.719 MB / 1.532 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6238, allocations: 4 kB / 1.532 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.6246, allocations: 175.7 kB / 1.532 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/0.627, allocations: 0.8223 MB / 1.533 GB, free: 11.44 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.302e-05/0.627, allocations: 24 kB / 1.533 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02003/0.6471, allocations: 20.6 MB / 1.553 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6471, allocations: 4 kB / 1.553 GB, free: 5.434 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005138/0.6522, allocations: 3.011 MB / 1.556 GB, free: 2.305 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/0.6532, allocations: 390.5 kB / 1.557 GB, free: 1.922 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.6534, allocations: 43.88 kB / 1.557 GB, free: 1.879 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.6541, allocations: 63.92 kB / 1.557 GB, free: 1.816 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003326/0.6545, allocations: 140.6 kB / 1.557 GB, free: 1.68 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/0.6546, allocations: 40.06 kB / 1.557 GB, free: 1.641 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001304/0.6559, allocations: 0.9756 MB / 1.558 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6559, allocations: 0 / 1.558 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002826/0.6587, allocations: 0.7852 MB / 1.559 GB, free: 15.85 MB / 1.264 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.005288/0.664, allocations: 3.595 MB / 1.562 GB, free: 12.14 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00573/0.6697, allocations: 3.918 MB / 1.566 GB, free: 8.066 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.6697, allocations: 256 / 1.566 GB, free: 8.066 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003745/0.6735, allocations: 2.67 MB / 1.569 GB, free: 5.242 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.6765, allocations: 0.733 MB / 1.569 GB, free: 4.535 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03544/0.7119, allocations: 22.52 MB / 1.591 GB, free: 12.98 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003559/0.7155, allocations: 2.565 MB / 1.594 GB, free: 10.38 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001315/0.7168, allocations: 457.9 kB / 1.594 GB, free: 9.934 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/0.7187, allocations: 1.534 MB / 1.596 GB, free: 8.398 MB / 1.295 GB Notification: Performance of SimCode: time 9.72e-07/0.7187, allocations: 0 / 1.596 GB, free: 8.398 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7305/1.449, allocations: 66 MB / 1.66 GB, free: 218.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/16.19, allocations: 10.84 kB / 1.66 GB, free: 218.5 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.52772958308924]