Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.0008535/0.0008535, allocations: 98.03 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.005323/0.005323, allocations: 168.9 kB / 16.26 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003109, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6553, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03511/0.6904, allocations: 36.73 MB / 0.9911 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.7069, allocations: 10.87 MB / 1.002 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.7101, allocations: 135.2 kB / 1.002 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.712, allocations: 0.7753 MB / 1.003 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006025/0.718, allocations: 2.092 MB / 1.005 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.7226, allocations: 1.783 MB / 1.006 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01329/0.7359, allocations: 13.18 MB / 1.019 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02253/0.7585, allocations: 14.46 MB / 1.033 GB, free: 14.99 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.7637, allocations: 2.836 MB / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006128/0.7698, allocations: 3.873 MB / 1.04 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.7713, allocations: 348 kB / 1.04 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.775, allocations: 1.326 MB / 1.042 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003649/0.7787, allocations: 2.529 MB / 1.044 GB, free: 4.051 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004821/0.7835, allocations: 2.967 MB / 1.047 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.7943, allocations: 11.68 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7943, allocations: 0 / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7943, allocations: 0 / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003359/0.7947, allocations: 0 / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01103/0.8057, allocations: 5.087 MB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.8058, allocations: 12.03 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002513/0.8083, allocations: 0.8294 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/0.814, allocations: 1.067 MB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/0.8203, allocations: 3.427 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/0.8208, allocations: 427.7 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/0.8224, allocations: 0.5394 MB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.8409, allocations: 9.377 MB / 1.079 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/0.8411, allocations: 27.7 kB / 1.079 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/0.8424, allocations: 248 kB / 1.079 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005972/0.843, allocations: 422.9 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.8557, allocations: 7.12 MB / 1.086 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04022/0.8959, allocations: 41.37 MB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/0.9004, allocations: 3.096 MB / 1.13 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.9033, allocations: 2.122 MB / 1.132 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.9034, allocations: 22 kB / 1.132 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.9035, allocations: 64.5 kB / 1.132 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 3.567e-06/0.9035, allocations: 0 / 1.132 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.02262/0.9261, allocations: 10.62 MB / 1.142 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.9262, allocations: 77.34 kB / 1.142 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.9289, allocations: 2.002 MB / 1.144 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.9291, allocations: 65.7 kB / 1.144 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.9305, allocations: 2.411 MB / 1.147 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005861/0.9311, allocations: 0.7279 MB / 1.147 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.9314, allocations: 211.1 kB / 1.147 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.9315, allocations: 305.1 kB / 1.148 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.9336, allocations: 1.372 MB / 1.149 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.9359, allocations: 2.108 MB / 1.151 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/0.9404, allocations: 3.762 MB / 1.155 GB, free: 13.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.9405, allocations: 12 kB / 1.155 GB, free: 13.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007522/0.948, allocations: 5.065 MB / 1.16 GB, free: 8.297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.948, allocations: 16.06 kB / 1.16 GB, free: 8.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.9481, allocations: 27.98 kB / 1.16 GB, free: 8.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003274/0.9513, allocations: 1.579 MB / 1.161 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.9529, allocations: 455.2 kB / 1.162 GB, free: 6.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.9723, allocations: 17.11 MB / 1.179 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.9744, allocations: 139.9 kB / 1.179 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.9747, allocations: 111.9 kB / 1.179 GB, free: 4.328 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002991/0.9777, allocations: 1.943 MB / 1.181 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005474/0.9783, allocations: 288.7 kB / 1.181 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00687/0.9852, allocations: 4.459 MB / 1.185 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.9852, allocations: 20 kB / 1.185 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.866e-05/0.9852, allocations: 16 kB / 1.185 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.9853, allocations: 11.95 kB / 1.185 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.9995, allocations: 9.668 MB / 1.195 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.9995, allocations: 4 kB / 1.195 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/1, allocations: 235.6 kB / 1.195 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/1.004, allocations: 1.437 MB / 1.196 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.004, allocations: 40 kB / 1.196 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.023, allocations: 17.11 MB / 1.213 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.023, allocations: 11.94 kB / 1.213 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00658/1.03, allocations: 4.541 MB / 1.218 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.031, allocations: 0.6342 MB / 1.218 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/1.031, allocations: 40 kB / 1.218 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.033, allocations: 115.9 kB / 1.218 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004036/1.033, allocations: 185.6 kB / 1.219 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.033, allocations: 60 kB / 1.219 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001754/1.035, allocations: 1.315 MB / 1.22 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.035, allocations: 0 / 1.22 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002925/1.038, allocations: 1.141 MB / 1.221 GB, free: 8.227 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006652/1.045, allocations: 5.161 MB / 1.226 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006762/1.051, allocations: 4.696 MB / 1.231 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.051, allocations: 0 / 1.231 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/1.056, allocations: 2.926 MB / 1.233 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005083/1.061, allocations: 0.8373 MB / 1.234 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4364/1.497, allocations: 35.92 MB / 1.269 GB, free: 270.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/1.501, allocations: 3.69 MB / 1.273 GB, free: 269.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001662/1.502, allocations: 0.5628 MB / 1.274 GB, free: 269.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.504, allocations: 1.945 MB / 1.275 GB, free: 268.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.504, allocations: 0 / 1.275 GB, free: 268.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.514/7.018, allocations: 82.39 MB / 1.356 GB, free: 205.1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/7.018, allocations: 259.6 kB / 1.356 GB, free: 204.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/10.59, allocations: 0 / 1.356 GB, free: 204.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches