Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007706/0.007706, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001714/0.001715, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7453 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 159.9 MB / 1.226 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01847/0.3245, allocations: 16.02 MB / 1.241 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00788/0.3324, allocations: 4.82 MB / 1.246 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3335, allocations: 63.69 kB / 1.246 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.3364, allocations: 1.049 MB / 1.247 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.3383, allocations: 0.7542 MB / 1.248 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.3406, allocations: 0.9152 MB / 1.249 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6489/0.9895, allocations: 3.607 MB / 1.252 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005451/0.995, allocations: 4.761 MB / 1.257 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.9973, allocations: 1.583 MB / 1.258 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.9991, allocations: 1.784 MB / 1.26 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.9996, allocations: 339.9 kB / 1.26 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/1.001, allocations: 0.7913 MB / 1.261 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/1.002, allocations: 1.323 MB / 1.263 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/1.004, allocations: 1.456 MB / 1.264 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/1.011, allocations: 5.151 MB / 1.269 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.011, allocations: 4.797 kB / 1.269 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/1.011, allocations: 0 / 1.269 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002253/1.011, allocations: 0 / 1.269 GB, free: 8.973 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008135/1.019, allocations: 2.713 MB / 1.272 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.019, allocations: 9.5 kB / 1.272 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/1.024, allocations: 0.8441 MB / 1.272 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/1.027, allocations: 1.571 MB / 1.274 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/1.027, allocations: 179 kB / 1.274 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007026/1.028, allocations: 235.5 kB / 1.274 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007706/1.036, allocations: 4.159 MB / 1.278 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/1.036, allocations: 13.17 kB / 1.278 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/1.036, allocations: 97.12 kB / 1.279 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/1.036, allocations: 170.4 kB / 1.279 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/1.043, allocations: 3.632 MB / 1.282 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/1.064, allocations: 16.44 MB / 1.298 GB, free: 7.945 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/1.067, allocations: 2.292 MB / 1.301 GB, free: 6.543 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009274/1.068, allocations: 0.5844 MB / 1.301 GB, free: 6.332 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/1.068, allocations: 96.67 kB / 1.301 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.068, allocations: 46.64 kB / 1.301 GB, free: 6.184 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/1.068, allocations: 0 / 1.301 GB, free: 6.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.006011/1.074, allocations: 3.495 MB / 1.305 GB, free: 4.211 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/1.074, allocations: 123 kB / 1.305 GB, free: 4.074 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.076, allocations: 1.018 MB / 1.306 GB, free: 3.656 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/1.076, allocations: 35.89 kB / 1.306 GB, free: 3.617 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009062/1.077, allocations: 1.141 MB / 1.307 GB, free: 2.742 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/1.077, allocations: 289.1 kB / 1.307 GB, free: 2.523 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/1.078, allocations: 278.9 kB / 1.308 GB, free: 2.387 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002406/1.078, allocations: 409.5 kB / 1.308 GB, free: 2.035 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.079, allocations: 0.6209 MB / 1.309 GB, free: 1.832 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/1.081, allocations: 1.185 MB / 1.31 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/1.084, allocations: 1.897 MB / 1.312 GB, free: 15.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-05/1.084, allocations: 12.81 kB / 1.312 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003773/1.088, allocations: 2.013 MB / 1.313 GB, free: 15.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/1.088, allocations: 18.98 kB / 1.314 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/1.088, allocations: 21.97 kB / 1.314 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/1.088, allocations: 163.6 kB / 1.314 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.09, allocations: 346.4 kB / 1.314 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-05/1.09, allocations: 38.72 kB / 1.314 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.091, allocations: 127.1 kB / 1.314 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/1.091, allocations: 74.39 kB / 1.314 GB, free: 15 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002159/1.093, allocations: 0.9721 MB / 1.315 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/1.094, allocations: 116.9 kB / 1.315 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/1.096, allocations: 1.23 MB / 1.317 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.096, allocations: 15.66 kB / 1.317 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.096, allocations: 3.031 kB / 1.317 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.096, allocations: 3.188 kB / 1.317 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007801/1.104, allocations: 3.793 MB / 1.32 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.104, allocations: 3.094 kB / 1.32 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/1.105, allocations: 157 kB / 1.32 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/1.105, allocations: 142.3 kB / 1.321 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-05/1.105, allocations: 22.27 kB / 1.321 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.105, allocations: 5.188 kB / 1.321 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.105, allocations: 10.47 kB / 1.321 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/1.107, allocations: 1.473 MB / 1.322 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/1.108, allocations: 269.5 kB / 1.322 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/1.108, allocations: 24.59 kB / 1.322 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/1.109, allocations: 60.77 kB / 1.322 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.109, allocations: 66.06 kB / 1.322 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/1.109, allocations: 22.81 kB / 1.322 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001163/1.11, allocations: 0.6969 MB / 1.323 GB, free: 10.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 1.323 GB, free: 10.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001834/1.112, allocations: 387.6 kB / 1.323 GB, free: 10.86 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000239/1.113, allocations: 131.7 kB / 1.324 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002737/1.115, allocations: 1.716 MB / 1.325 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.115, allocations: 0.5 kB / 1.325 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/1.116, allocations: 0.8652 MB / 1.326 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/1.118, allocations: 266.4 kB / 1.326 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.13, allocations: 3.84 MB / 1.33 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/1.134, allocations: 1.917 MB / 1.332 GB, free: 5.602 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002062/1.136, allocations: 451.1 kB / 1.332 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/1.137, allocations: 80.19 kB / 1.333 GB, free: 5.402 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/1.137, allocations: 0 / 1.333 GB, free: 5.402 MB / 1.029 GB Notification: Performance of Templates: time 0.0496/1.187, allocations: 13.67 MB / 1.346 GB, free: 14.92 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches