Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008733/0.0008733, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005251/0.005251, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.301/2.301, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5197, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006396/0.5261, allocations: 6.369 MB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.5303, allocations: 3.044 MB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.5308, allocations: 27.81 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.5312, allocations: 138.8 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.5323, allocations: 473.7 kB / 1.033 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.5332, allocations: 403.3 kB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.5348, allocations: 1.599 MB / 1.035 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.5363, allocations: 1.004 MB / 1.036 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.5369, allocations: 398.3 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.5375, allocations: 498 kB / 1.037 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.5376, allocations: 40 kB / 1.037 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006104/0.5382, allocations: 443.1 kB / 1.037 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.5385, allocations: 271.2 kB / 1.037 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.5388, allocations: 435.4 kB / 1.038 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.5397, allocations: 1.182 MB / 1.039 GB, free: 15.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5397, allocations: 8 kB / 1.039 GB, free: 15.53 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5397, allocations: 0 / 1.039 GB, free: 15.53 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.5397, allocations: 0 / 1.039 GB, free: 15.53 MB / 0.795 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.001363/0.5411, allocations: 1.005 MB / 1.04 GB, free: 14.47 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.5411, allocations: 12.03 kB / 1.04 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.5413, allocations: 122.7 kB / 1.04 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.5427, allocations: 235.6 kB / 1.04 GB, free: 14.1 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.5433, allocations: 0.5646 MB / 1.041 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.5434, allocations: 49.67 kB / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/0.5435, allocations: 64.36 kB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5447, allocations: 1.077 MB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5448, allocations: 7.938 kB / 1.042 GB, free: 12.19 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.5448, allocations: 35.98 kB / 1.042 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.545, allocations: 85.25 kB / 1.042 GB, free: 12.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.546, allocations: 0.7504 MB / 1.043 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.5502, allocations: 5.901 MB / 1.049 GB, free: 4.984 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000848/0.5511, allocations: 0.5527 MB / 1.049 GB, free: 4.422 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.5515, allocations: 333.8 kB / 1.05 GB, free: 4.098 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.5515, allocations: 4.438 kB / 1.05 GB, free: 4.094 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.5515, allocations: 43 kB / 1.05 GB, free: 4.043 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 1.503e-06/0.5515, allocations: 0 / 1.05 GB, free: 4.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003318/0.5549, allocations: 2.002 MB / 1.052 GB, free: 1.945 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.5549, allocations: 55.84 kB / 1.052 GB, free: 1.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.5554, allocations: 0.5548 MB / 1.052 GB, free: 1.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.5555, allocations: 41.64 kB / 1.052 GB, free: 1.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.5557, allocations: 414.9 kB / 1.053 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.5558, allocations: 173.6 kB / 1.053 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.5559, allocations: 57.69 kB / 1.053 GB, free: 0.625 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.556, allocations: 382.7 kB / 1.053 GB, free: 248 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.5564, allocations: 273.8 kB / 1.053 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.5569, allocations: 493.5 kB / 1.054 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008828/0.5577, allocations: 0.8094 MB / 1.055 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5578, allocations: 0 / 1.055 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00158/0.5593, allocations: 1.086 MB / 1.056 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5594, allocations: 11.98 kB / 1.056 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5594, allocations: 8 kB / 1.056 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/0.5601, allocations: 287.8 kB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.5606, allocations: 127.8 kB / 1.056 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/0.5658, allocations: 6.607 MB / 1.063 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.5662, allocations: 39.95 kB / 1.063 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.5663, allocations: 32 kB / 1.063 GB, free: 5.734 MB / 0.8106 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.000263/0.5665, allocations: 257.4 kB / 1.063 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.5667, allocations: 71.16 kB / 1.063 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.5681, allocations: 0.8925 MB / 1.064 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5681, allocations: 8 kB / 1.064 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5681, allocations: 7.938 kB / 1.064 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5681, allocations: 3.984 kB / 1.064 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.5703, allocations: 1.717 MB / 1.066 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5704, allocations: 4 kB / 1.066 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.5706, allocations: 63.89 kB / 1.066 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006652/0.5713, allocations: 267.2 kB / 1.066 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.5713, allocations: 12 kB / 1.066 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/0.5764, allocations: 6.587 MB / 1.072 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5765, allocations: 12.02 kB / 1.072 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.5778, allocations: 0.9873 MB / 1.073 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.578, allocations: 196.2 kB / 1.073 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.5781, allocations: 11.94 kB / 1.074 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.5784, allocations: 27.97 kB / 1.074 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.5785, allocations: 39.94 kB / 1.074 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.5786, allocations: 16 kB / 1.074 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003675/0.5789, allocations: 395 kB / 1.074 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5789, allocations: 0 / 1.074 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006399/0.5796, allocations: 228 kB / 1.074 GB, free: 9.234 MB / 0.8262 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.001559/0.5812, allocations: 1.545 MB / 1.076 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.5828, allocations: 1.268 MB / 1.077 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5828, allocations: 4.062 kB / 1.077 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.5839, allocations: 0.897 MB / 1.078 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.585, allocations: 220.4 kB / 1.078 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007651/0.5927, allocations: 6.854 MB / 1.085 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.5932, allocations: 1.016 MB / 1.086 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003732/0.5936, allocations: 122 kB / 1.086 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.5938, allocations: 255.4 kB / 1.086 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.5938, allocations: 0 / 1.086 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.311/1.905, allocations: 16.43 MB / 1.102 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03221/1.937, allocations: 246.5 kB / 1.102 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/3.83, allocations: 8.938 kB / 1.102 GB, free: 12.2 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches