Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001296/0.001296, allocations: 116.8 kB / 17.17 MB, free: 6 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.001447/0.001447, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.965/2.965, allocations: 0.5003 GB / 0.8026 GB, free: 6.762 MB / 0.6387 GB " [Timeout remaining time 176] 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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.002042/0.002042, allocations: 71.89 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03641/1.047, allocations: 31.27 MB / 1.371 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02783/1.074, allocations: 13.75 MB / 1.384 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006016/1.08, allocations: 190.5 kB / 1.384 GB, free: 1.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01112/1.092, allocations: 3.251 MB / 1.387 GB, free: 15.47 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/1.103, allocations: 2.753 MB / 1.39 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0079/1.111, allocations: 2.023 MB / 1.392 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01423/1.125, allocations: 7.607 MB / 1.4 GB, free: 9.246 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/1.138, allocations: 6.147 MB / 1.406 GB, free: 6.723 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008294/1.146, allocations: 3.509 MB / 1.409 GB, free: 5.23 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008334/1.154, allocations: 3.577 MB / 1.412 GB, free: 3.652 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003214/1.158, allocations: 0.5998 MB / 1.413 GB, free: 3.648 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006886/1.165, allocations: 1.515 MB / 1.415 GB, free: 3.148 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005908/1.17, allocations: 2.432 MB / 1.417 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.009901/1.18, allocations: 2.877 MB / 1.42 GB, free: 15.55 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01761/1.198, allocations: 9.484 MB / 1.429 GB, free: 8.703 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.198, allocations: 0 / 1.429 GB, free: 8.703 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.325e-06/1.198, allocations: 0 / 1.429 GB, free: 8.703 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000429/1.198, allocations: 1.344 kB / 1.429 GB, free: 8.703 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02009/1.219, allocations: 5.275 MB / 1.434 GB, free: 5.094 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.219, allocations: 9.594 kB / 1.434 GB, free: 5.094 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002121/1.219, allocations: 116.1 kB / 1.434 GB, free: 5.078 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002574/1.221, allocations: 0.6173 MB / 1.435 GB, free: 4.633 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007618/1.229, allocations: 1.027 MB / 1.436 GB, free: 4.137 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008462/1.237, allocations: 3.093 MB / 1.439 GB, free: 2.066 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/1.238, allocations: 319.3 kB / 1.439 GB, free: 1.918 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/1.24, allocations: 417.7 kB / 1.44 GB, free: 1.777 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/1.26, allocations: 6.785 MB / 1.446 GB, free: 11.37 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/1.261, allocations: 31.78 kB / 1.446 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/1.262, allocations: 180 kB / 1.446 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009942/1.263, allocations: 376 kB / 1.447 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/1.276, allocations: 5.114 MB / 1.452 GB, free: 5.66 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04658/1.322, allocations: 30.57 MB / 1.482 GB, free: 4.332 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/1.325, allocations: 1.315 MB / 1.483 GB, free: 3.012 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/1.327, allocations: 1.246 MB / 1.484 GB, free: 1.77 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-05/1.327, allocations: 17.3 kB / 1.484 GB, free: 1.754 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/1.327, allocations: 59.81 kB / 1.484 GB, free: 1.688 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 3.597e-06/1.327, allocations: 0 / 1.484 GB, free: 1.688 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.09413/1.421, allocations: 23.07 MB / 1.507 GB, free: 10.5 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/1.421, allocations: 69.41 kB / 1.507 GB, free: 10.42 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/1.425, allocations: 2.062 MB / 1.509 GB, free: 8.344 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000437/1.425, allocations: 61.7 kB / 1.509 GB, free: 8.277 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.427, allocations: 2.066 MB / 1.511 GB, free: 6.191 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009566/1.428, allocations: 0.7126 MB / 1.512 GB, free: 5.473 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008355/1.429, allocations: 408.4 kB / 1.512 GB, free: 5.066 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.429, allocations: 305.1 kB / 1.512 GB, free: 4.766 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.431, allocations: 1.437 MB / 1.514 GB, free: 3.324 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/1.434, allocations: 2.01 MB / 1.516 GB, free: 1.066 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005523/1.439, allocations: 3.696 MB / 1.519 GB, free: 13.13 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.44, allocations: 4 kB / 1.519 GB, free: 13.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01222/1.452, allocations: 5.6 MB / 1.525 GB, free: 7.457 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/1.452, allocations: 12 kB / 1.525 GB, free: 7.445 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/1.452, allocations: 20.91 kB / 1.525 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007327/1.459, allocations: 2.083 MB / 1.527 GB, free: 5.289 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.461, allocations: 379.4 kB / 1.527 GB, free: 4.918 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04516/1.506, allocations: 38.46 MB / 1.565 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/1.509, allocations: 127.9 kB / 1.565 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/1.51, allocations: 87.98 kB / 1.565 GB, free: 11.71 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.003277/1.513, allocations: 1.514 MB / 1.566 GB, free: 10.19 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007755/1.514, allocations: 298.1 kB / 1.567 GB, free: 9.898 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.525, allocations: 5.145 MB / 1.572 GB, free: 4.676 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/1.525, allocations: 20 kB / 1.572 GB, free: 4.656 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-05/1.525, allocations: 20 kB / 1.572 GB, free: 4.637 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-05/1.525, allocations: 11.97 kB / 1.572 GB, free: 4.625 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.547, allocations: 9.614 MB / 1.581 GB, free: 10.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.547, allocations: 4 kB / 1.581 GB, free: 10.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.548, allocations: 211.7 kB / 1.581 GB, free: 10.59 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006556/1.555, allocations: 1.838 MB / 1.583 GB, free: 8.699 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/1.555, allocations: 44 kB / 1.583 GB, free: 8.656 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04287/1.598, allocations: 37.47 MB / 1.62 GB, free: 0.6602 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/1.598, allocations: 16 kB / 1.62 GB, free: 0.6445 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.608, allocations: 4.848 MB / 1.625 GB, free: 11.64 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/1.61, allocations: 0.6241 MB / 1.625 GB, free: 10.99 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009009/1.611, allocations: 51.89 kB / 1.625 GB, free: 10.94 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.613, allocations: 127.8 kB / 1.625 GB, free: 10.82 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/1.613, allocations: 193.6 kB / 1.625 GB, free: 10.63 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.614, allocations: 56 kB / 1.626 GB, free: 10.57 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002208/1.616, allocations: 1.378 MB / 1.627 GB, free: 9.188 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/1.616, allocations: 0 / 1.627 GB, free: 9.188 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004634/1.62, allocations: 1.047 MB / 1.628 GB, free: 8.141 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/1.631, allocations: 5.478 MB / 1.633 GB, free: 2.496 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.642, allocations: 6.006 MB / 1.639 GB, free: 12.25 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.642, allocations: 4 kB / 1.639 GB, free: 12.25 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.007537/1.65, allocations: 4.281 MB / 1.643 GB, free: 7.742 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/1.654, allocations: 0.9845 MB / 1.644 GB, free: 6.781 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05919/1.713, allocations: 30.66 MB / 1.674 GB, free: 7.074 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004122/1.718, allocations: 3.125 MB / 1.677 GB, free: 3.914 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001835/1.719, allocations: 0.5159 MB / 1.678 GB, free: 3.395 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/1.722, allocations: 1.675 MB / 1.679 GB, free: 1.719 MB / 1.357 GB Notification: Performance of SimCode: time 8.42e-07/1.722, allocations: 4 kB / 1.679 GB, free: 1.715 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2265/1.948, allocations: 88.77 MB / 1.766 GB, free: 10.04 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/17.76, allocations: 4.062 kB / 1.766 GB, free: 10.04 MB / 1.451 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.439333092945162]