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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001234/0.001234, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.405/2.405, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.52 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2237, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007006/0.2307, allocations: 6.815 MB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004041/0.2348, allocations: 3.075 MB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.2351, allocations: 27.81 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.237, allocations: 0.8797 MB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008405/0.2379, allocations: 485.6 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.2387, allocations: 410.1 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.2399, allocations: 1.591 MB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.2407, allocations: 0.6484 MB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.2411, allocations: 418.3 kB / 1.066 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.2416, allocations: 0.5331 MB / 1.067 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.2417, allocations: 48 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006586/0.2424, allocations: 455 kB / 1.067 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.2426, allocations: 283.2 kB / 1.067 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.243, allocations: 433.7 kB / 1.068 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.2439, allocations: 1.211 MB / 1.069 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.244, allocations: 0 / 1.069 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.244, allocations: 0 / 1.069 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.244, allocations: 0 / 1.069 GB, free: 6.883 MB / 0.8262 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.001672/0.2457, allocations: 1.165 MB / 1.07 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2457, allocations: 15.95 kB / 1.07 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.2458, allocations: 126.6 kB / 1.07 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.2473, allocations: 235.6 kB / 1.071 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.248, allocations: 0.5492 MB / 1.071 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.248, allocations: 49.69 kB / 1.071 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.2481, allocations: 64.27 kB / 1.071 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.2494, allocations: 1.093 MB / 1.072 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.2494, allocations: 4 kB / 1.072 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.2495, allocations: 28 kB / 1.072 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.2497, allocations: 89.19 kB / 1.072 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.2507, allocations: 0.7504 MB / 1.073 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004335/0.255, allocations: 5.897 MB / 1.079 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.2559, allocations: 0.5405 MB / 1.079 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.2563, allocations: 338 kB / 1.08 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.2564, allocations: 4.438 kB / 1.08 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2564, allocations: 39 kB / 1.08 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.904e-06/0.2564, allocations: 0 / 1.08 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003384/0.2598, allocations: 1.986 MB / 1.082 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.2598, allocations: 55.84 kB / 1.082 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.2604, allocations: 0.5664 MB / 1.082 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.2604, allocations: 33.7 kB / 1.082 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.2606, allocations: 418.9 kB / 1.083 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2608, allocations: 173.5 kB / 1.083 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.2609, allocations: 122.5 kB / 1.083 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2611, allocations: 386.7 kB / 1.083 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.2614, allocations: 273.9 kB / 1.084 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.2619, allocations: 0.4892 MB / 1.084 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.2628, allocations: 0.8054 MB / 1.085 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2628, allocations: 0 / 1.085 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001591/0.2644, allocations: 1.087 MB / 1.086 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.2645, allocations: 8 kB / 1.086 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2645, allocations: 8 kB / 1.086 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/0.2652, allocations: 279.9 kB / 1.086 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.2657, allocations: 127.7 kB / 1.086 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005196/0.2709, allocations: 6.599 MB / 1.093 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.2713, allocations: 36.03 kB / 1.093 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.2714, allocations: 36.22 kB / 1.093 GB, free: 12.9 MB / 0.8575 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.0002745/0.2717, allocations: 253.5 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.2718, allocations: 71.16 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.2732, allocations: 0.8886 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2732, allocations: 4 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2732, allocations: 4 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2732, allocations: 3.938 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.2754, allocations: 1.728 MB / 1.096 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2754, allocations: 192 / 1.096 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.2757, allocations: 63.89 kB / 1.096 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006813/0.2764, allocations: 267.2 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.2764, allocations: 19.97 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005061/0.2815, allocations: 6.579 MB / 1.103 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2815, allocations: 0 / 1.103 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2828, allocations: 0.9838 MB / 1.104 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.283, allocations: 192.3 kB / 1.104 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.2831, allocations: 19.88 kB / 1.104 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2834, allocations: 36.08 kB / 1.104 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.2835, allocations: 39.89 kB / 1.104 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.2836, allocations: 16 kB / 1.104 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003613/0.2839, allocations: 395.1 kB / 1.104 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2839, allocations: 0 / 1.104 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00065/0.2846, allocations: 227.9 kB / 1.104 GB, free: 420 kB / 0.8575 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.001532/0.2861, allocations: 1.548 MB / 1.106 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.2878, allocations: 1.268 MB / 1.107 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2878, allocations: 0 / 1.107 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.2888, allocations: 0.8894 MB / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.2897, allocations: 201.6 kB / 1.108 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/0.2973, allocations: 6.857 MB / 1.115 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.2978, allocations: 1.016 MB / 1.116 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003747/0.2982, allocations: 118 kB / 1.116 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.2984, allocations: 251.4 kB / 1.116 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.2985, allocations: 0 / 1.116 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6954/0.9938, allocations: 16.72 MB / 1.133 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.9941, allocations: 250.5 kB / 1.133 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.202, allocations: 8.062 kB / 1.133 GB, free: 3.094 MB / 0.8887 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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