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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007066/0.007066, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.00188/0.001881, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2849, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008699/0.2936, allocations: 6.813 MB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005007/0.2987, allocations: 3.063 MB / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.2991, allocations: 27.81 kB / 1.251 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.513/0.8121, allocations: 0.9393 MB / 1.252 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.8134, allocations: 0.5006 MB / 1.253 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.8144, allocations: 446.7 kB / 1.253 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00112/0.8155, allocations: 1.23 MB / 1.254 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.8163, allocations: 0.6646 MB / 1.255 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.8169, allocations: 474.9 kB / 1.255 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/0.8175, allocations: 0.5279 MB / 1.256 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.8177, allocations: 66.72 kB / 1.256 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006812/0.8183, allocations: 378.4 kB / 1.256 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.8187, allocations: 306.7 kB / 1.256 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.8191, allocations: 454.8 kB / 1.257 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.8203, allocations: 1.223 MB / 1.258 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8203, allocations: 2.5 kB / 1.258 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8203, allocations: 1.219 kB / 1.258 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.8203, allocations: 0 / 1.258 GB, free: 6.953 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.001644/0.822, allocations: 1.194 MB / 1.259 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.822, allocations: 9.062 kB / 1.259 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.8222, allocations: 126.5 kB / 1.259 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.8237, allocations: 240.1 kB / 1.26 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.8245, allocations: 0.6138 MB / 1.26 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.8245, allocations: 49.69 kB / 1.26 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.8246, allocations: 64.97 kB / 1.26 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.826, allocations: 1.087 MB / 1.261 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.826, allocations: 6.688 kB / 1.261 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.8261, allocations: 28.66 kB / 1.261 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.8263, allocations: 84.38 kB / 1.262 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.8274, allocations: 0.7494 MB / 1.262 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/0.8318, allocations: 5.884 MB / 1.268 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.8326, allocations: 0.5574 MB / 1.269 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.833, allocations: 330.5 kB / 1.269 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.8331, allocations: 3.031 kB / 1.269 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.8331, allocations: 38.5 kB / 1.269 GB, free: 15.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.8331, allocations: 0 / 1.269 GB, free: 15.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003508/0.8366, allocations: 1.994 MB / 1.271 GB, free: 14.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.8367, allocations: 59.12 kB / 1.271 GB, free: 14.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.8372, allocations: 0.5686 MB / 1.271 GB, free: 14.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.8373, allocations: 32.89 kB / 1.271 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.8375, allocations: 428.8 kB / 1.272 GB, free: 13.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.8376, allocations: 182 kB / 1.272 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.8378, allocations: 135.1 kB / 1.272 GB, free: 13.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.838, allocations: 379 kB / 1.273 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.8384, allocations: 271.7 kB / 1.273 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.839, allocations: 490.5 kB / 1.273 GB, free: 12.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.84, allocations: 0.8122 MB / 1.274 GB, free: 12.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.84, allocations: 2.453 kB / 1.274 GB, free: 12.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001791/0.8418, allocations: 1.09 MB / 1.275 GB, free: 11.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.8419, allocations: 11.08 kB / 1.275 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.8419, allocations: 7.812 kB / 1.275 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008146/0.8427, allocations: 280 kB / 1.275 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.8432, allocations: 127 kB / 1.276 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007173/0.8503, allocations: 7.14 MB / 1.283 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.8509, allocations: 40.02 kB / 1.283 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.851, allocations: 28.53 kB / 1.283 GB, free: 5.5 MB / 1.014 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.0003665/0.8514, allocations: 258.9 kB / 1.283 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.8515, allocations: 74.23 kB / 1.283 GB, free: 5.273 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.8531, allocations: 0.8908 MB / 1.284 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8531, allocations: 5.781 kB / 1.284 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8531, allocations: 3.156 kB / 1.284 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.8531, allocations: 2.391 kB / 1.284 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.8558, allocations: 1.728 MB / 1.285 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8558, allocations: 2.625 kB / 1.285 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.8561, allocations: 60.25 kB / 1.286 GB, free: 4.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007512/0.8569, allocations: 274.5 kB / 1.286 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.8569, allocations: 7.719 kB / 1.286 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/0.8637, allocations: 7.13 MB / 1.293 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8637, allocations: 2.625 kB / 1.293 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.8653, allocations: 0.9915 MB / 1.294 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.8656, allocations: 190.6 kB / 1.294 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.8657, allocations: 16.88 kB / 1.294 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.8661, allocations: 33.86 kB / 1.294 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.8662, allocations: 45.77 kB / 1.294 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.8663, allocations: 15.91 kB / 1.294 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004531/0.8667, allocations: 393.1 kB / 1.294 GB, free: 12.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8667, allocations: 0 / 1.294 GB, free: 12.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007901/0.8675, allocations: 224.3 kB / 1.295 GB, free: 12.77 MB / 1.029 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.001876/0.8694, allocations: 1.548 MB / 1.296 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.8714, allocations: 1.288 MB / 1.297 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8715, allocations: 1.062 kB / 1.297 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.8728, allocations: 0.8856 MB / 1.298 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.8738, allocations: 224.7 kB / 1.298 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008789/0.8826, allocations: 6.403 MB / 1.305 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.8833, allocations: 1.011 MB / 1.306 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004169/0.8838, allocations: 130 kB / 1.306 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.8841, allocations: 248.5 kB / 1.306 GB, free: 5.637 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.8841, allocations: 0 / 1.306 GB, free: 5.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.9375, allocations: 17.5 MB / 1.323 GB, free: 2.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.42, allocations: 16.11 kB / 1.323 GB, free: 2.527 MB / 1.029 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 400 --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