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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001506/0.001506, allocations: 111.2 kB / 16.37 MB, free: 6.473 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.001484/0.001485, allocations: 194.2 kB / 17.31 MB, free: 5.824 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.371/2.371, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.16 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3143, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01765/0.332, allocations: 16.02 MB / 1.042 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007393/0.3394, allocations: 4.824 MB / 1.047 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009943/0.3405, allocations: 67.62 kB / 1.047 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.343, allocations: 1.045 MB / 1.048 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.3446, allocations: 0.7424 MB / 1.049 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.3467, allocations: 0.9196 MB / 1.05 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003677/0.3504, allocations: 3.61 MB / 1.053 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004985/0.3554, allocations: 4.769 MB / 1.058 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.3576, allocations: 1.582 MB / 1.06 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.3597, allocations: 1.784 MB / 1.061 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.3602, allocations: 343.9 kB / 1.062 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.3616, allocations: 0.7957 MB / 1.062 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.3628, allocations: 1.322 MB / 1.064 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.3644, allocations: 1.459 MB / 1.065 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004324/0.3687, allocations: 5.13 MB / 1.07 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3687, allocations: 0 / 1.07 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3687, allocations: 0 / 1.07 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.457e-05/0.3688, allocations: 0 / 1.07 GB, free: 5.488 MB / 0.8419 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.004958/0.3738, allocations: 2.658 MB / 1.073 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3738, allocations: 8.031 kB / 1.073 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/0.3776, allocations: 0.8329 MB / 1.074 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.3808, allocations: 1.571 MB / 1.075 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.381, allocations: 181.1 kB / 1.075 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5242/0.9052, allocations: 227 kB / 1.075 GB, free: 52.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009138/0.9144, allocations: 4.154 MB / 1.079 GB, free: 51.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.95e-05/0.9145, allocations: 9.625 kB / 1.079 GB, free: 51.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.9148, allocations: 102.4 kB / 1.08 GB, free: 51.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000232/0.915, allocations: 166.1 kB / 1.08 GB, free: 51.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007252/0.9223, allocations: 3.638 MB / 1.083 GB, free: 50.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/0.947, allocations: 16.41 MB / 1.099 GB, free: 37.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.9507, allocations: 2.288 MB / 1.102 GB, free: 36.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009786/0.9517, allocations: 0.5799 MB / 1.102 GB, free: 36.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.9519, allocations: 92.94 kB / 1.102 GB, free: 36.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.9519, allocations: 44.7 kB / 1.102 GB, free: 36.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 3.065e-06/0.9519, allocations: 0 / 1.102 GB, free: 36.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.005681/0.9576, allocations: 3.432 MB / 1.106 GB, free: 34.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.9577, allocations: 113.5 kB / 1.106 GB, free: 34.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.9592, allocations: 1.019 MB / 1.107 GB, free: 33.69 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.9593, allocations: 36.73 kB / 1.107 GB, free: 33.65 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000696/0.96, allocations: 1.106 MB / 1.108 GB, free: 32.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.9602, allocations: 279 kB / 1.108 GB, free: 32.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/0.9607, allocations: 279.3 kB / 1.108 GB, free: 32.46 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.9609, allocations: 414 kB / 1.109 GB, free: 32.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.9618, allocations: 0.6162 MB / 1.109 GB, free: 31.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.9633, allocations: 1.187 MB / 1.111 GB, free: 30.97 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.9659, allocations: 1.86 MB / 1.112 GB, free: 29.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.966, allocations: 13.09 kB / 1.112 GB, free: 29.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003279/0.9692, allocations: 2.024 MB / 1.114 GB, free: 28.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.9693, allocations: 12.31 kB / 1.114 GB, free: 28.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/0.9693, allocations: 19.19 kB / 1.114 GB, free: 28.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/0.9698, allocations: 159.5 kB / 1.115 GB, free: 28.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.971, allocations: 345.8 kB / 1.115 GB, free: 28.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-05/0.971, allocations: 38.97 kB / 1.115 GB, free: 28.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.9721, allocations: 128.1 kB / 1.115 GB, free: 28.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.9723, allocations: 69.64 kB / 1.115 GB, free: 28.75 MB / 0.8419 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.001673/0.9739, allocations: 0.9843 MB / 1.116 GB, free: 28.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.9742, allocations: 112.3 kB / 1.116 GB, free: 28.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.9763, allocations: 1.226 MB / 1.117 GB, free: 27.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.9763, allocations: 8.25 kB / 1.117 GB, free: 27.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.9763, allocations: 3.203 kB / 1.117 GB, free: 27.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.9763, allocations: 4.109 kB / 1.117 GB, free: 27.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/0.9827, allocations: 3.792 MB / 1.121 GB, free: 26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.9827, allocations: 6.953 kB / 1.121 GB, free: 25.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.9833, allocations: 161.1 kB / 1.121 GB, free: 25.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003422/0.9837, allocations: 137.9 kB / 1.121 GB, free: 25.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.9837, allocations: 13.8 kB / 1.121 GB, free: 25.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.9837, allocations: 10.73 kB / 1.121 GB, free: 25.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9837, allocations: 2.688 kB / 1.121 GB, free: 25.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.9856, allocations: 1.468 MB / 1.123 GB, free: 25.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.9861, allocations: 279.6 kB / 1.123 GB, free: 24.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.9863, allocations: 16.41 kB / 1.123 GB, free: 24.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.9868, allocations: 74.31 kB / 1.123 GB, free: 24.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.987, allocations: 54.69 kB / 1.123 GB, free: 24.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.9871, allocations: 22.25 kB / 1.123 GB, free: 24.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009159/0.988, allocations: 0.6962 MB / 1.124 GB, free: 24.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.988, allocations: 0 / 1.124 GB, free: 24.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001594/0.9896, allocations: 391.5 kB / 1.124 GB, free: 24.55 MB / 0.8419 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.0001992/0.9898, allocations: 128.8 kB / 1.124 GB, free: 24.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.992, allocations: 1.716 MB / 1.126 GB, free: 23.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.992, allocations: 0 / 1.126 GB, free: 23.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.9929, allocations: 0.8633 MB / 1.127 GB, free: 22.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.9942, allocations: 280.3 kB / 1.127 GB, free: 22.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/1.001, allocations: 3.782 MB / 1.131 GB, free: 20.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/1.003, allocations: 1.919 MB / 1.133 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001306/1.004, allocations: 454.4 kB / 1.133 GB, free: 19.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/1.004, allocations: 84.05 kB / 1.133 GB, free: 19.34 MB / 0.8419 GB Notification: Performance of SimCode: time 1.603e-06/1.004, allocations: 0 / 1.133 GB, free: 19.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.02593/1.03, allocations: 13.27 MB / 1.146 GB, free: 12.44 MB / 0.8419 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 -s gbode -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/jenkins1/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