Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001326/0.001326, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.00154/0.00154, allocations: 221.1 kB / 22.26 MB, free: 5.215 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 8 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.19/3.19, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 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_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001985/0.001985, allocations: 65.39 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04762/0.4225, allocations: 39.29 MB / 1.391 GB, free: 1.031 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02457/0.4471, allocations: 13.61 MB / 1.405 GB, free: 3.387 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.451, allocations: 226.2 kB / 1.405 GB, free: 3.164 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.4616, allocations: 4.079 MB / 1.409 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007538/0.4691, allocations: 2.608 MB / 1.411 GB, free: 12.45 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007447/0.4766, allocations: 2.796 MB / 1.414 GB, free: 9.656 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01382/0.4904, allocations: 9.588 MB / 1.423 GB, free: 36 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.502, allocations: 5.569 MB / 1.429 GB, free: 10.35 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008237/0.5103, allocations: 4.124 MB / 1.433 GB, free: 6.215 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008981/0.5192, allocations: 4.673 MB / 1.437 GB, free: 1.527 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00285/0.5221, allocations: 0.7695 MB / 1.438 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005621/0.5277, allocations: 1.806 MB / 1.44 GB, free: 14.95 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005957/0.5337, allocations: 3.113 MB / 1.443 GB, free: 11.83 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.008277/0.5419, allocations: 3.591 MB / 1.446 GB, free: 8.223 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01759/0.5595, allocations: 11.88 MB / 1.458 GB, free: 12.3 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.5595, allocations: 0 / 1.458 GB, free: 12.3 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5595, allocations: 0 / 1.458 GB, free: 12.3 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004477/0.56, allocations: 0 / 1.458 GB, free: 12.3 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01978/0.5798, allocations: 6.447 MB / 1.464 GB, free: 5.789 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.5798, allocations: 8.031 kB / 1.464 GB, free: 5.781 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002689/0.5825, allocations: 0.7519 MB / 1.465 GB, free: 5.02 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009223/0.5917, allocations: 1.328 MB / 1.466 GB, free: 3.688 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.602, allocations: 3.729 MB / 1.47 GB, free: 15.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/0.6024, allocations: 378.4 kB / 1.47 GB, free: 15.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002245/0.6047, allocations: 0.4963 MB / 1.471 GB, free: 15.01 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.627, allocations: 8.898 MB / 1.48 GB, free: 5.758 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002984/0.6273, allocations: 27.77 kB / 1.48 GB, free: 5.73 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/0.6291, allocations: 216 kB / 1.48 GB, free: 5.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.6312, allocations: 0.642 MB / 1.48 GB, free: 4.875 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.6472, allocations: 7.01 MB / 1.487 GB, free: 13.85 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06236/0.7095, allocations: 39.8 MB / 1.526 GB, free: 2.809 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004876/0.7144, allocations: 2.652 MB / 1.529 GB, free: 148 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/0.7187, allocations: 2.429 MB / 1.531 GB, free: 13.7 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.719, allocations: 30.08 kB / 1.531 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/0.7191, allocations: 64.59 kB / 1.531 GB, free: 13.6 MB / 1.232 GB Notification: Performance of pre-optimization done (n=265): time 6.452e-06/0.7191, allocations: 0 / 1.531 GB, free: 13.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=424): time 0.2862/1.005, allocations: 72.92 MB / 1.602 GB, free: 4.426 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.005, allocations: 94.73 kB / 1.603 GB, free: 4.32 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/1.01, allocations: 2.367 MB / 1.605 GB, free: 1.941 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000871/1.011, allocations: 97.64 kB / 1.605 GB, free: 1.84 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.6732/1.684, allocations: 2.394 MB / 1.607 GB, free: 235.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001906/1.686, allocations: 1.511 MB / 1.609 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/1.688, allocations: 0.7266 MB / 1.609 GB, free: 235 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/1.688, allocations: 307.6 kB / 1.61 GB, free: 234.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004733/1.692, allocations: 2.997 MB / 1.613 GB, free: 234 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006217/1.699, allocations: 3.842 MB / 1.616 GB, free: 231.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/1.711, allocations: 7.384 MB / 1.624 GB, free: 227.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.378e-05/1.711, allocations: 6.969 kB / 1.624 GB, free: 227.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03244/1.743, allocations: 12.39 MB / 1.636 GB, free: 222.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/1.743, allocations: 13.78 kB / 1.636 GB, free: 222.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.545e-05/1.743, allocations: 24.88 kB / 1.636 GB, free: 222.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02427/1.768, allocations: 6.035 MB / 1.642 GB, free: 221.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/1.77, allocations: 498 kB / 1.642 GB, free: 221.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07332/1.844, allocations: 70.57 MB / 1.711 GB, free: 165.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/1.848, allocations: 219.8 kB / 1.711 GB, free: 165.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008886/1.848, allocations: 148 kB / 1.711 GB, free: 165.2 MB / 1.295 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004059/1.852, allocations: 2.004 MB / 1.713 GB, free: 163.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.854, allocations: 413.5 kB / 1.714 GB, free: 162.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02603/1.88, allocations: 12.05 MB / 1.726 GB, free: 150.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/1.88, allocations: 40 kB / 1.726 GB, free: 150.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000173/1.88, allocations: 48 kB / 1.726 GB, free: 150.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.093e-05/1.88, allocations: 19.92 kB / 1.726 GB, free: 150.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04008/1.92, allocations: 18.93 MB / 1.744 GB, free: 131.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.78e-05/1.92, allocations: 8 kB / 1.744 GB, free: 131.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.922, allocations: 287.6 kB / 1.744 GB, free: 131.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01836/1.94, allocations: 5.578 MB / 1.75 GB, free: 125.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008526/1.941, allocations: 80 kB / 1.75 GB, free: 125.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06556/2.006, allocations: 68.22 MB / 1.817 GB, free: 54.45 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.006, allocations: 11.94 kB / 1.817 GB, free: 54.44 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02885/2.035, allocations: 15.46 MB / 1.832 GB, free: 38.75 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003379/2.039, allocations: 0.9867 MB / 1.833 GB, free: 37.76 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/2.04, allocations: 83.98 kB / 1.833 GB, free: 37.68 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/2.043, allocations: 215.7 kB / 1.833 GB, free: 37.47 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001729/2.045, allocations: 426 kB / 1.833 GB, free: 37.05 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005376/2.046, allocations: 108 kB / 1.833 GB, free: 36.95 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002336/2.048, allocations: 1.56 MB / 1.835 GB, free: 35.39 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.81e-07/2.048, allocations: 0 / 1.835 GB, free: 35.39 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006837/2.055, allocations: 1.863 MB / 1.837 GB, free: 33.52 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02526/2.08, allocations: 16.11 MB / 1.852 GB, free: 17.16 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01754/2.098, allocations: 11.61 MB / 1.864 GB, free: 5.242 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/2.098, allocations: 0 / 1.864 GB, free: 5.242 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01407/2.112, allocations: 8.128 MB / 1.872 GB, free: 12.82 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005981/2.118, allocations: 1.202 MB / 1.873 GB, free: 11.65 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1191/2.237, allocations: 53.81 MB / 1.925 GB, free: 4.297 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/2.248, allocations: 4.095 MB / 1.929 GB, free: 168 kB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.003801/2.251, allocations: 0.6669 MB / 1.93 GB, free: 15.49 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00501/2.256, allocations: 2.124 MB / 1.932 GB, free: 13.37 MB / 1.373 GB Notification: Performance of SimCode: time 1.763e-06/2.256, allocations: 0 / 1.932 GB, free: 13.37 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3475/2.604, allocations: 156.6 MB / 2.085 GB, free: 1.828 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.34/22.94, allocations: 4.062 kB / 2.085 GB, free: 1.824 MB / 1.514 GB " [Timeout remaining time 277] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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: 30.428933745017275]