Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.006781/0.006781, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001613/0.001613, allocations: 194.3 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.615/2.615, allocations: 469.4 MB / 0.7422 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.91 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2758, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01509/0.2909, allocations: 14.79 MB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.3042, allocations: 10.35 MB / 1.244 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3052, allocations: 59.62 kB / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004075/0.3093, allocations: 1.679 MB / 1.246 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.3136, allocations: 1.862 MB / 1.248 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3153, allocations: 0.7562 MB / 1.249 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5349/0.8502, allocations: 2.744 MB / 1.251 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.8521, allocations: 1.412 MB / 1.253 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.8543, allocations: 1.53 MB / 1.254 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.8556, allocations: 1.162 MB / 1.255 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.8558, allocations: 162.8 kB / 1.255 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.8569, allocations: 0.7846 MB / 1.256 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.8573, allocations: 0.6098 MB / 1.257 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.858, allocations: 0.9524 MB / 1.258 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.8606, allocations: 2.77 MB / 1.26 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8606, allocations: 2.625 kB / 1.26 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8606, allocations: 3.562 kB / 1.26 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.486e-05/0.8607, allocations: 0 / 1.26 GB, free: 7.582 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.0034/0.8641, allocations: 2.228 MB / 1.263 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.8641, allocations: 11.25 kB / 1.263 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.8643, allocations: 192.9 kB / 1.263 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.8766, allocations: 2.117 MB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.8793, allocations: 1.321 MB / 1.266 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.8794, allocations: 86.92 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.8797, allocations: 115 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006269/0.886, allocations: 2.674 MB / 1.269 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.886, allocations: 10.05 kB / 1.269 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.8862, allocations: 56.81 kB / 1.269 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007962/0.887, allocations: 192.6 kB / 1.269 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007508/0.8945, allocations: 2.794 MB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.9079, allocations: 10.47 MB / 1.282 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006732/0.9147, allocations: 2.337 MB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003157/0.9179, allocations: 1.284 MB / 1.286 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/0.9179, allocations: 14.19 kB / 1.286 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.918, allocations: 51.41 kB / 1.286 GB, free: 15.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.918, allocations: 0 / 1.286 GB, free: 15.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=153): time 0.06125/0.9792, allocations: 16.52 MB / 1.302 GB, free: 11.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.9793, allocations: 70.31 kB / 1.302 GB, free: 11.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.9814, allocations: 1.17 MB / 1.303 GB, free: 11.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.9816, allocations: 53.52 kB / 1.303 GB, free: 11.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005647/0.9822, allocations: 0.7567 MB / 1.304 GB, free: 10.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005682/0.9828, allocations: 0.5452 MB / 1.304 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000669/0.9834, allocations: 290.8 kB / 1.305 GB, free: 10.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.9835, allocations: 310.8 kB / 1.305 GB, free: 9.797 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003637/0.9872, allocations: 1.506 MB / 1.306 GB, free: 9.168 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/0.991, allocations: 1.782 MB / 1.308 GB, free: 8.074 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007534/0.9985, allocations: 3.365 MB / 1.311 GB, free: 6.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.9986, allocations: 1.406 kB / 1.311 GB, free: 6.168 MB / 1.014 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.014/1.013, allocations: 5.286 MB / 1.317 GB, free: 3.371 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.013, allocations: 8.219 kB / 1.317 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.013, allocations: 7.5 kB / 1.317 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006926/1.02, allocations: 1.883 MB / 1.318 GB, free: 2.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.022, allocations: 416.9 kB / 1.319 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02874/1.05, allocations: 24.16 MB / 1.342 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/1.053, allocations: 304 kB / 1.343 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/1.053, allocations: 70.45 kB / 1.343 GB, free: 15 MB / 1.045 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00105/1.055, allocations: 470.7 kB / 1.343 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/1.055, allocations: 182.9 kB / 1.343 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.069, allocations: 5.325 MB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.069, allocations: 13.72 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.812e-05/1.069, allocations: 18.5 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.069, allocations: 7.969 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.086, allocations: 7.429 MB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.086, allocations: 4 kB / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.088, allocations: 358.3 kB / 1.356 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005932/1.094, allocations: 1.702 MB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/1.094, allocations: 39.97 kB / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02675/1.121, allocations: 23.32 MB / 1.381 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.121, allocations: 4 kB / 1.381 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.134, allocations: 4.906 MB / 1.386 GB, free: 5.109 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.135, allocations: 0.4958 MB / 1.386 GB, free: 4.594 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004748/1.135, allocations: 28 kB / 1.386 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.138, allocations: 315.5 kB / 1.386 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00052/1.138, allocations: 152.7 kB / 1.387 GB, free: 4.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.138, allocations: 59.91 kB / 1.387 GB, free: 4.051 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001327/1.14, allocations: 0.7899 MB / 1.387 GB, free: 3.262 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.14, allocations: 0 / 1.387 GB, free: 3.262 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002372/1.142, allocations: 0.6562 MB / 1.388 GB, free: 2.605 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/1.155, allocations: 5.478 MB / 1.393 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.166, allocations: 5.16 MB / 1.398 GB, free: 7.883 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.166, allocations: 4 kB / 1.398 GB, free: 7.879 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.006851/1.173, allocations: 3.356 MB / 1.402 GB, free: 4.43 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.175, allocations: 0.5601 MB / 1.402 GB, free: 3.887 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04683/1.222, allocations: 21.9 MB / 1.424 GB, free: 13.66 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.224, allocations: 1.568 MB / 1.425 GB, free: 12.05 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00152/1.225, allocations: 390.4 kB / 1.426 GB, free: 11.67 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009882/1.226, allocations: 0.6554 MB / 1.426 GB, free: 11.01 MB / 1.123 GB Notification: Performance of SimCode: time 2.565e-06/1.226, allocations: 0 / 1.426 GB, free: 11.01 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/1.327, allocations: 58.75 MB / 1.484 GB, free: 1.016 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/20.19, allocations: 8.688 kB / 1.484 GB, free: 1.012 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches