Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.0008606/0.0008606, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005538/0.005538, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005073, allocations: 12.53 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3602, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02858/0.3888, allocations: 25.74 MB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01472/0.4036, allocations: 7.99 MB / 1.092 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.4068, allocations: 99.44 kB / 1.092 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.409, allocations: 0.5233 MB / 1.092 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.4142, allocations: 1.489 MB / 1.094 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.4184, allocations: 1.402 MB / 1.095 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.4286, allocations: 8.7 MB / 1.104 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01443/0.4431, allocations: 9.155 MB / 1.113 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.447, allocations: 1.851 MB / 1.114 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004739/0.4517, allocations: 2.468 MB / 1.117 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.453, allocations: 212 kB / 1.117 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.4566, allocations: 1.205 MB / 1.118 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002987/0.4596, allocations: 1.664 MB / 1.12 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.4632, allocations: 1.961 MB / 1.122 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008571/0.4717, allocations: 7.674 MB / 1.129 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.4718, allocations: 0 / 1.129 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.446e-06/0.4718, allocations: 0 / 1.129 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002304/0.472, allocations: 4 kB / 1.129 GB, free: 12.43 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007907/0.4799, allocations: 3.417 MB / 1.133 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.48, allocations: 15.91 kB / 1.133 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009337/0.4809, allocations: 0.5382 MB / 1.133 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004126/0.4851, allocations: 0.8039 MB / 1.134 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.4891, allocations: 2.428 MB / 1.136 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.4893, allocations: 267.7 kB / 1.137 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006694/0.49, allocations: 384.4 kB / 1.137 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00931/0.4993, allocations: 5.994 MB / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.714e-05/0.4994, allocations: 19.78 kB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003501/0.4998, allocations: 156 kB / 1.143 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005692/0.5003, allocations: 282.9 kB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007232/0.5076, allocations: 4.52 MB / 1.148 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.5357, allocations: 27.69 MB / 1.175 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.5373, allocations: 1.119 MB / 1.176 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.5386, allocations: 1.027 MB / 1.177 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.197e-05/0.5387, allocations: 13 kB / 1.177 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.5387, allocations: 51.5 kB / 1.177 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.755e-06/0.5387, allocations: 0 / 1.177 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.0212/0.5599, allocations: 9.676 MB / 1.186 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.56, allocations: 64.72 kB / 1.186 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.5621, allocations: 1.49 MB / 1.188 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.5622, allocations: 45.7 kB / 1.188 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.5633, allocations: 1.663 MB / 1.189 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/0.5638, allocations: 485.2 kB / 1.19 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.564, allocations: 141.6 kB / 1.19 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5642, allocations: 309.1 kB / 1.19 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.5655, allocations: 0.9096 MB / 1.191 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.5673, allocations: 1.467 MB / 1.193 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.5706, allocations: 2.546 MB / 1.195 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.5706, allocations: 8 kB / 1.195 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005847/0.5765, allocations: 3.286 MB / 1.198 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.5765, allocations: 17.5 kB / 1.198 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.5765, allocations: 16 kB / 1.198 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.5788, allocations: 0.7377 MB / 1.199 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.5803, allocations: 383.4 kB / 1.199 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.596, allocations: 15.78 MB / 1.215 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.5976, allocations: 103.9 kB / 1.215 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.5978, allocations: 79.94 kB / 1.215 GB, free: 15.61 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002356/0.6002, allocations: 1.309 MB / 1.216 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/0.6006, allocations: 197.7 kB / 1.217 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.6059, allocations: 2.788 MB / 1.219 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.6059, allocations: 12 kB / 1.219 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/0.6059, allocations: 11.94 kB / 1.219 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6059, allocations: 11.97 kB / 1.219 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.6162, allocations: 6.217 MB / 1.225 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.6162, allocations: 4 kB / 1.225 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.6174, allocations: 223.7 kB / 1.226 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/0.6196, allocations: 0.6754 MB / 1.226 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.6197, allocations: 32 kB / 1.226 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.6368, allocations: 15.52 MB / 1.241 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/0.6368, allocations: 16 kB / 1.241 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00673/0.6436, allocations: 4.004 MB / 1.245 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.6446, allocations: 458.6 kB / 1.246 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/0.645, allocations: 35.98 kB / 1.246 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6461, allocations: 83.89 kB / 1.246 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.6464, allocations: 120.6 kB / 1.246 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/0.6465, allocations: 36 kB / 1.246 GB, free: 14.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001562/0.6481, allocations: 0.9981 MB / 1.247 GB, free: 13.31 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6481, allocations: 0 / 1.247 GB, free: 13.31 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002398/0.6505, allocations: 0.6875 MB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006687/0.6572, allocations: 4.602 MB / 1.252 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005579/0.6628, allocations: 3.507 MB / 1.256 GB, free: 4.277 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.6628, allocations: 0 / 1.256 GB, free: 4.277 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/0.6661, allocations: 2.292 MB / 1.258 GB, free: 1.867 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/0.6703, allocations: 0.6177 MB / 1.258 GB, free: 1.254 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4881/1.158, allocations: 24.34 MB / 1.282 GB, free: 177.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002943/1.161, allocations: 2.665 MB / 1.285 GB, free: 177 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001444/1.163, allocations: 484 kB / 1.285 GB, free: 177 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.164, allocations: 1.28 MB / 1.287 GB, free: 177 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/1.164, allocations: 0 / 1.287 GB, free: 177 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4309/1.595, allocations: 54.23 MB / 1.339 GB, free: 143.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.595, allocations: 244.8 kB / 1.34 GB, free: 143.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/4.307, allocations: 0 / 1.34 GB, free: 143.4 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches