Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.005272/0.005272, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001459/0.001459, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.568/2.568, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2601, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.4686/0.7287, allocations: 20.24 MB / 1.262 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007445/0.7362, allocations: 6.448 MB / 1.268 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006335/0.7369, allocations: 91.53 kB / 1.268 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.7407, allocations: 2.236 MB / 1.27 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.7424, allocations: 1.179 MB / 1.271 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.7447, allocations: 1.289 MB / 1.273 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004079/0.7488, allocations: 4.846 MB / 1.277 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005511/0.7543, allocations: 5.6 MB / 1.283 GB, free: 11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.7569, allocations: 2.078 MB / 1.285 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.7594, allocations: 2.34 MB / 1.287 GB, free: 9.031 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004744/0.7599, allocations: 430.1 kB / 1.288 GB, free: 9.031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.7615, allocations: 1.007 MB / 1.289 GB, free: 8.797 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.7631, allocations: 1.665 MB / 1.29 GB, free: 8.109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.7649, allocations: 1.912 MB / 1.292 GB, free: 6.883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006172/0.7711, allocations: 6.528 MB / 1.298 GB, free: 4.816 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7711, allocations: 0.6562 kB / 1.298 GB, free: 4.816 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7711, allocations: 0 / 1.298 GB, free: 4.816 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.714e-05/0.7712, allocations: 1.25 kB / 1.298 GB, free: 4.816 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006159/0.7774, allocations: 3.548 MB / 1.302 GB, free: 2.746 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.7774, allocations: 8.812 kB / 1.302 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005917/0.778, allocations: 454.2 kB / 1.302 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.781, allocations: 0.6494 MB / 1.303 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.7841, allocations: 2.059 MB / 1.305 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.7842, allocations: 218.5 kB / 1.305 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/0.7847, allocations: 304.5 kB / 1.305 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006791/0.7915, allocations: 4.886 MB / 1.31 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.7915, allocations: 9.562 kB / 1.31 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.7919, allocations: 135.7 kB / 1.31 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003657/0.7922, allocations: 233.6 kB / 1.311 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005309/0.7976, allocations: 3.749 MB / 1.314 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.8166, allocations: 21.44 MB / 1.335 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.8182, allocations: 1.311 MB / 1.336 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.8195, allocations: 1.055 MB / 1.337 GB, free: 9.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.085e-05/0.8196, allocations: 11.25 kB / 1.337 GB, free: 9.566 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.8196, allocations: 44.72 kB / 1.338 GB, free: 9.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=107): time 2.505e-06/0.8196, allocations: 1.094 kB / 1.338 GB, free: 9.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=138): time 0.0218/0.8414, allocations: 8.706 MB / 1.346 GB, free: 4.887 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.8415, allocations: 66.25 kB / 1.346 GB, free: 4.824 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.8427, allocations: 1.129 MB / 1.347 GB, free: 4.203 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.25e-05/0.8428, allocations: 51.08 kB / 1.347 GB, free: 4.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008449/0.8437, allocations: 1.339 MB / 1.349 GB, free: 2.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.8441, allocations: 497.3 kB / 1.349 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.8445, allocations: 295.2 kB / 1.349 GB, free: 2.375 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8446, allocations: 310.2 kB / 1.35 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.8458, allocations: 0.9097 MB / 1.351 GB, free: 1.594 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.8473, allocations: 1.322 MB / 1.352 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004774/0.8521, allocations: 2.43 MB / 1.354 GB, free: 14.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.8521, allocations: 4.344 kB / 1.354 GB, free: 14.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006694/0.8588, allocations: 3.476 MB / 1.358 GB, free: 13.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.8588, allocations: 13.69 kB / 1.358 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.8589, allocations: 12.03 kB / 1.358 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.8619, allocations: 1.178 MB / 1.359 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.8627, allocations: 257.9 kB / 1.359 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/0.8793, allocations: 13.86 MB / 1.373 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.8803, allocations: 91.97 kB / 1.373 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.8805, allocations: 60 kB / 1.373 GB, free: 15.46 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001748/0.8822, allocations: 1.122 MB / 1.374 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.8824, allocations: 167 kB / 1.374 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/0.8879, allocations: 3.169 MB / 1.377 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.8879, allocations: 12 kB / 1.377 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.8879, allocations: 15.94 kB / 1.377 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.888, allocations: 15.97 kB / 1.377 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009244/0.8972, allocations: 6.237 MB / 1.383 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.8972, allocations: 7.938 kB / 1.383 GB, free: 4.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.8978, allocations: 147.8 kB / 1.383 GB, free: 4.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.9005, allocations: 1.074 MB / 1.384 GB, free: 3.324 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.9006, allocations: 31.98 kB / 1.384 GB, free: 3.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.9168, allocations: 13.55 MB / 1.398 GB, free: 5.328 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.9168, allocations: 11.94 kB / 1.398 GB, free: 5.316 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004824/0.9216, allocations: 3.163 MB / 1.401 GB, free: 2.074 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.9222, allocations: 431.9 kB / 1.401 GB, free: 1.633 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.9224, allocations: 31.94 kB / 1.401 GB, free: 1.602 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.9232, allocations: 83.89 kB / 1.401 GB, free: 1.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.9234, allocations: 124.7 kB / 1.401 GB, free: 1.398 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/0.9235, allocations: 36 kB / 1.401 GB, free: 1.363 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009138/0.9244, allocations: 0.771 MB / 1.402 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9244, allocations: 0 / 1.402 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001651/0.9261, allocations: 0.6563 MB / 1.403 GB, free: 15.93 MB / 1.107 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005235/0.9313, allocations: 3.753 MB / 1.406 GB, free: 12.09 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004431/0.9358, allocations: 3.145 MB / 1.41 GB, free: 8.898 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9358, allocations: 0 / 1.41 GB, free: 8.898 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.9385, allocations: 1.967 MB / 1.411 GB, free: 6.898 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.9404, allocations: 498.7 kB / 1.412 GB, free: 6.426 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/0.9664, allocations: 19.21 MB / 1.431 GB, free: 2.625 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.9686, allocations: 2.34 MB / 1.433 GB, free: 260 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008174/0.9694, allocations: 354.2 kB / 1.433 GB, free: 15.9 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.9705, allocations: 1.011 MB / 1.434 GB, free: 14.89 MB / 1.139 GB Notification: Performance of SimCode: time 2.4e-07/0.9705, allocations: 0 / 1.434 GB, free: 14.89 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.97/12.94, allocations: 52.31 MB / 1.485 GB, free: 11.22 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/31.88, allocations: 11.95 kB / 1.485 GB, free: 11.22 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches