Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004409/0.004409, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 193.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.608/2.608, allocations: 469.4 MB / 0.7422 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 71.89 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007956/0.2806, allocations: 6.811 MB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004691/0.2853, allocations: 3.067 MB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.2859, allocations: 31.81 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.2883, allocations: 0.9432 MB / 1.23 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.2896, allocations: 0.5246 MB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.2908, allocations: 447.7 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2923, allocations: 1.236 MB / 1.232 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009484/0.2933, allocations: 0.6661 MB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006752/0.294, allocations: 478.3 kB / 1.234 GB, free: 444 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007403/0.2947, allocations: 0.5137 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.2949, allocations: 75.84 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/0.2956, allocations: 383.2 kB / 1.235 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.296, allocations: 307.2 kB / 1.235 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.2966, allocations: 453.7 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.2981, allocations: 1.222 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2981, allocations: 3.938 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2981, allocations: 0 / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.399e-05/0.2982, allocations: 0 / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002132/0.3003, allocations: 1.195 MB / 1.238 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3003, allocations: 8.031 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.3005, allocations: 118.7 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.3021, allocations: 244.1 kB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000969/0.3031, allocations: 0.6158 MB / 1.239 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.3031, allocations: 49.67 kB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3032, allocations: 64.36 kB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3046, allocations: 1.085 MB / 1.24 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.3047, allocations: 7.938 kB / 1.24 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.3048, allocations: 31.98 kB / 1.24 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.3049, allocations: 85.25 kB / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.306, allocations: 0.7504 MB / 1.241 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.311, allocations: 5.882 MB / 1.246 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.3119, allocations: 0.5522 MB / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.3124, allocations: 331 kB / 1.247 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.3124, allocations: 4.438 kB / 1.247 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3124, allocations: 39 kB / 1.247 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.3124, allocations: 3.938 kB / 1.247 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.49/0.8024, allocations: 1.993 MB / 1.249 GB, free: 30.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.8025, allocations: 58.62 kB / 1.249 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/0.8032, allocations: 0.5663 MB / 1.25 GB, free: 29.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.8032, allocations: 37.55 kB / 1.25 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.8035, allocations: 421 kB / 1.25 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.8036, allocations: 183.7 kB / 1.25 GB, free: 29.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.8038, allocations: 125.5 kB / 1.251 GB, free: 29.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.8038, allocations: 373.5 kB / 1.251 GB, free: 29.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.8042, allocations: 276.1 kB / 1.251 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.8047, allocations: 0.4884 MB / 1.252 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008579/0.8056, allocations: 0.8122 MB / 1.252 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8056, allocations: 2.156 kB / 1.252 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001738/0.8074, allocations: 1.089 MB / 1.253 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.8074, allocations: 10.86 kB / 1.254 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8074, allocations: 6.906 kB / 1.254 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008069/0.8082, allocations: 282.3 kB / 1.254 GB, free: 28.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.8087, allocations: 124.4 kB / 1.254 GB, free: 28.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004742/0.8135, allocations: 7.141 MB / 1.261 GB, free: 23.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.814, allocations: 38.42 kB / 1.261 GB, free: 23.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.8141, allocations: 29.56 kB / 1.261 GB, free: 23.25 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0002729/0.8143, allocations: 261.1 kB / 1.261 GB, free: 23.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.8144, allocations: 77.16 kB / 1.261 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.8157, allocations: 0.8806 MB / 1.262 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.8157, allocations: 9.812 kB / 1.262 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8157, allocations: 3.656 kB / 1.262 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8158, allocations: 2.25 kB / 1.262 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.818, allocations: 1.725 MB / 1.264 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.818, allocations: 3.625 kB / 1.264 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.8183, allocations: 63.17 kB / 1.264 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006933/0.819, allocations: 271.6 kB / 1.264 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.819, allocations: 12.16 kB / 1.264 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.8237, allocations: 7.131 MB / 1.271 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8237, allocations: 0 / 1.271 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.8252, allocations: 0.9877 MB / 1.272 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.8255, allocations: 202.5 kB / 1.272 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.253e-05/0.8256, allocations: 10.44 kB / 1.272 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.826, allocations: 29.61 kB / 1.272 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.8261, allocations: 44.61 kB / 1.272 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.8261, allocations: 15.03 kB / 1.272 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004637/0.8266, allocations: 390.2 kB / 1.273 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8266, allocations: 4 kB / 1.273 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008327/0.8274, allocations: 224.2 kB / 1.273 GB, free: 15.89 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/0.829, allocations: 1.554 MB / 1.274 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.8308, allocations: 1.267 MB / 1.276 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8308, allocations: 1.281 kB / 1.276 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.8319, allocations: 0.8979 MB / 1.277 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/0.8329, allocations: 221.6 kB / 1.277 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/0.8411, allocations: 6.414 MB / 1.283 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.8416, allocations: 1.014 MB / 1.284 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004261/0.842, allocations: 121.1 kB / 1.284 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.8423, allocations: 255.3 kB / 1.284 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.8423, allocations: 0 / 1.284 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.8868, allocations: 17.51 MB / 1.302 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.802/10.69, allocations: 17.66 kB / 1.302 GB, free: 7.375 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches