Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_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_10_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.0008924/0.0008924, allocations: 91.84 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.005512/0.005512, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.3/1.3, 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 10.1.0-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5724, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01828/0.5908, allocations: 19.49 MB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008799/0.5996, allocations: 6.385 MB / 1.048 GB, free: 5.891 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008937/0.6005, allocations: 75.56 kB / 1.048 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.6013, allocations: 404.8 kB / 1.049 GB, free: 5.418 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.6034, allocations: 1.116 MB / 1.05 GB, free: 4.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.6054, allocations: 1.08 MB / 1.051 GB, free: 3.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006249/0.6117, allocations: 6.971 MB / 1.058 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009465/0.6212, allocations: 7.263 MB / 1.065 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.6234, allocations: 1.494 MB / 1.066 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.6257, allocations: 2.028 MB / 1.068 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.626, allocations: 176 kB / 1.069 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.6275, allocations: 0.9202 MB / 1.069 GB, free: 260 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.6286, allocations: 1.344 MB / 1.071 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.6299, allocations: 1.576 MB / 1.072 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.6345, allocations: 6.21 MB / 1.078 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6346, allocations: 0 / 1.078 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.387e-06/0.6346, allocations: 0 / 1.078 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.948e-05/0.6346, allocations: 7.938 kB / 1.078 GB, free: 7.078 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004733/0.6394, allocations: 2.816 MB / 1.081 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6394, allocations: 12.03 kB / 1.081 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006287/0.6401, allocations: 450.6 kB / 1.082 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.6432, allocations: 0.6449 MB / 1.082 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.646, allocations: 1.936 MB / 1.084 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.6462, allocations: 222.3 kB / 1.084 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004379/0.6466, allocations: 303.9 kB / 1.085 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006928/0.6536, allocations: 4.882 MB / 1.089 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.6536, allocations: 15.92 kB / 1.089 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.6539, allocations: 132 kB / 1.089 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003794/0.6543, allocations: 221.7 kB / 1.09 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005511/0.6598, allocations: 3.754 MB / 1.093 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/0.6787, allocations: 21.63 MB / 1.114 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.6805, allocations: 1.304 MB / 1.116 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.6818, allocations: 1.034 MB / 1.117 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.6819, allocations: 13 kB / 1.117 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.6819, allocations: 51.55 kB / 1.117 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 2.775e-06/0.6819, allocations: 0 / 1.117 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02309/0.705, allocations: 8.715 MB / 1.125 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7051, allocations: 64.72 kB / 1.125 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7065, allocations: 1.126 MB / 1.126 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.7066, allocations: 45.7 kB / 1.127 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/0.7074, allocations: 1.308 MB / 1.128 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.7077, allocations: 477.2 kB / 1.128 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.7079, allocations: 125.6 kB / 1.128 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.708, allocations: 309.1 kB / 1.129 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7092, allocations: 0.9135 MB / 1.13 GB, free: 140 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.7106, allocations: 1.322 MB / 1.131 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.7134, allocations: 2.426 MB / 1.133 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7134, allocations: 4 kB / 1.133 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005538/0.719, allocations: 3.467 MB / 1.137 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.719, allocations: 12 kB / 1.137 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.719, allocations: 12.91 kB / 1.137 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/0.722, allocations: 1.182 MB / 1.138 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.7229, allocations: 259.6 kB / 1.138 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.7378, allocations: 12.76 MB / 1.15 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.7393, allocations: 91.97 kB / 1.151 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.7394, allocations: 67.92 kB / 1.151 GB, free: 9.785 MB / 0.9044 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.001802/0.7412, allocations: 1.114 MB / 1.152 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.7415, allocations: 158.1 kB / 1.152 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/0.747, allocations: 3.184 MB / 1.155 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.7471, allocations: 12 kB / 1.155 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.7471, allocations: 12 kB / 1.155 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.7471, allocations: 15.91 kB / 1.155 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.7578, allocations: 6.237 MB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.7579, allocations: 4 kB / 1.161 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.7584, allocations: 151.7 kB / 1.161 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/0.7612, allocations: 1.078 MB / 1.162 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.7613, allocations: 28 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.7768, allocations: 12.45 MB / 1.175 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.7768, allocations: 7.938 kB / 1.175 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.7819, allocations: 3.154 MB / 1.178 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007509/0.7827, allocations: 427 kB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.783, allocations: 32 kB / 1.178 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008671/0.7839, allocations: 83.83 kB / 1.178 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.7842, allocations: 120.7 kB / 1.178 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.7843, allocations: 48.38 kB / 1.178 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001021/0.7853, allocations: 0.7593 MB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7853, allocations: 0 / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001996/0.7873, allocations: 0.6602 MB / 1.18 GB, free: 11.38 MB / 0.9356 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.005335/0.7927, allocations: 3.747 MB / 1.183 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004814/0.7975, allocations: 3.138 MB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.7976, allocations: 0 / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.8005, allocations: 1.963 MB / 1.188 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/0.8038, allocations: 476.8 kB / 1.189 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/0.8372, allocations: 21.38 MB / 1.21 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/0.8398, allocations: 2.336 MB / 1.212 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001039/0.8409, allocations: 350.1 kB / 1.212 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.8421, allocations: 1.011 MB / 1.213 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of SimCode: time 1.042e-06/0.8421, allocations: 3.938 kB / 1.213 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5198/1.362, allocations: 49.33 MB / 1.261 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/1.362, allocations: 250 kB / 1.262 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.939, allocations: 0.5 kB / 1.262 GB, free: 209.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches