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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008787/0.008787, allocations: 103.3 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.001869/0.001869, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.499/2.499, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.31 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8953/0.8966, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.03176/0.9284, allocations: 16.02 MB / 1.223 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.9415, allocations: 4.82 MB / 1.228 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.9434, allocations: 63.69 kB / 1.228 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004476/0.9479, allocations: 1.05 MB / 1.229 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.951, allocations: 0.7424 MB / 1.23 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.9536, allocations: 0.9189 MB / 1.231 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00424/0.9578, allocations: 3.614 MB / 1.234 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005427/0.9633, allocations: 4.757 MB / 1.239 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.9657, allocations: 1.597 MB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.9683, allocations: 1.776 MB / 1.242 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000784/0.9691, allocations: 340 kB / 1.243 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.9708, allocations: 0.7997 MB / 1.243 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.9722, allocations: 1.326 MB / 1.245 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.974, allocations: 1.459 MB / 1.246 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.9793, allocations: 5.128 MB / 1.251 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.9793, allocations: 7.938 kB / 1.251 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9793, allocations: 0 / 1.251 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001088/0.9794, allocations: 0 / 1.251 GB, free: 0.9883 MB / 0.9669 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.005266/0.9847, allocations: 2.658 MB / 1.254 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.9848, allocations: 12.03 kB / 1.254 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/0.9886, allocations: 0.8251 MB / 1.255 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.9923, allocations: 1.575 MB / 1.256 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.9925, allocations: 177.1 kB / 1.256 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/0.9931, allocations: 232.4 kB / 1.256 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007167/1, allocations: 4.158 MB / 1.26 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.546e-05/1, allocations: 4 kB / 1.26 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/1.001, allocations: 104 kB / 1.261 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/1.001, allocations: 168.5 kB / 1.261 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006271/1.007, allocations: 3.64 MB / 1.264 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/1.028, allocations: 16.42 MB / 1.28 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.031, allocations: 2.288 MB / 1.283 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008502/1.032, allocations: 0.5802 MB / 1.283 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/1.032, allocations: 105.6 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/1.032, allocations: 39.12 kB / 1.283 GB, free: 14.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/1.032, allocations: 0 / 1.283 GB, free: 14.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005782/1.038, allocations: 3.424 MB / 1.287 GB, free: 10.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/1.038, allocations: 119.5 kB / 1.287 GB, free: 10.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.04, allocations: 1.018 MB / 1.288 GB, free: 9.363 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/1.04, allocations: 37.69 kB / 1.288 GB, free: 9.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/1.04, allocations: 1.103 MB / 1.289 GB, free: 8.199 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/1.041, allocations: 272.2 kB / 1.289 GB, free: 7.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/1.041, allocations: 283.2 kB / 1.289 GB, free: 7.648 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.041, allocations: 410.7 kB / 1.29 GB, free: 7.238 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009869/1.042, allocations: 0.6129 MB / 1.29 GB, free: 6.625 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/1.044, allocations: 1.193 MB / 1.292 GB, free: 5.172 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/1.046, allocations: 1.864 MB / 1.293 GB, free: 3.039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/1.046, allocations: 8 kB / 1.293 GB, free: 3.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003419/1.049, allocations: 2.018 MB / 1.295 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/1.05, allocations: 12 kB / 1.295 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/1.05, allocations: 20.62 kB / 1.295 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/1.05, allocations: 167.3 kB / 1.296 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.051, allocations: 339.4 kB / 1.296 GB, free: 464 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.402e-05/1.051, allocations: 43.8 kB / 1.296 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/1.052, allocations: 131.7 kB / 1.296 GB, free: 288 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.052, allocations: 64 kB / 1.296 GB, free: 224 kB / 1.014 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.001374/1.054, allocations: 0.9733 MB / 1.297 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/1.054, allocations: 110.7 kB / 1.297 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/1.056, allocations: 1.234 MB / 1.298 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.056, allocations: 19.88 kB / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.056, allocations: 0 / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.056, allocations: 7.984 kB / 1.298 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/1.062, allocations: 3.794 MB / 1.302 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.062, allocations: 4 kB / 1.302 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.063, allocations: 155.8 kB / 1.302 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/1.063, allocations: 151.5 kB / 1.302 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/1.063, allocations: 12 kB / 1.302 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/1.063, allocations: 11.94 kB / 1.302 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.064, allocations: 4 kB / 1.302 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/1.066, allocations: 1.469 MB / 1.304 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/1.066, allocations: 263.8 kB / 1.304 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/1.067, allocations: 20 kB / 1.304 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/1.067, allocations: 63.91 kB / 1.304 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/1.067, allocations: 64.36 kB / 1.304 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/1.067, allocations: 20 kB / 1.304 GB, free: 7.582 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001025/1.068, allocations: 0.6992 MB / 1.305 GB, free: 6.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.068, allocations: 0 / 1.305 GB, free: 6.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001745/1.07, allocations: 388 kB / 1.305 GB, free: 6.492 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.0002914/1.07, allocations: 123.1 kB / 1.305 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002674/1.073, allocations: 1.719 MB / 1.307 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.073, allocations: 0 / 1.307 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009866/1.074, allocations: 0.866 MB / 1.308 GB, free: 3.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.076, allocations: 275.4 kB / 1.308 GB, free: 3.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/1.083, allocations: 3.776 MB / 1.312 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/1.085, allocations: 1.912 MB / 1.314 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001074/1.086, allocations: 453.4 kB / 1.314 GB, free: 13.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/1.086, allocations: 83.42 kB / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/1.086, allocations: 0 / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of Templates: time 0.02607/1.112, allocations: 13.67 MB / 1.328 GB, free: 15.51 MB / 1.061 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