Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.001575/0.001575, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001688/0.001688, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01993/1.076, allocations: 16.01 MB / 1.104 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009871/1.085, allocations: 4.816 MB / 1.109 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/1.087, allocations: 65.81 kB / 1.109 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/1.091, allocations: 1.047 MB / 1.11 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002841/1.094, allocations: 0.7508 MB / 1.111 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/1.097, allocations: 0.913 MB / 1.112 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005636/1.103, allocations: 3.619 MB / 1.115 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007788/1.11, allocations: 4.77 MB / 1.12 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/1.114, allocations: 1.595 MB / 1.121 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004129/1.118, allocations: 1.779 MB / 1.123 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001313/1.12, allocations: 339.9 kB / 1.123 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/1.123, allocations: 0.7977 MB / 1.124 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002987/1.126, allocations: 1.327 MB / 1.126 GB, free: 56 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00465/1.13, allocations: 1.45 MB / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01/1.141, allocations: 5.127 MB / 1.132 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.141, allocations: 5.656 kB / 1.132 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.774e-06/1.141, allocations: 0 / 1.132 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000213/1.141, allocations: 0 / 1.132 GB, free: 13.52 MB / 0.8887 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.01182/1.153, allocations: 2.656 MB / 1.135 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.153, allocations: 9.922 kB / 1.135 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/1.158, allocations: 0.8325 MB / 1.135 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/1.163, allocations: 1.571 MB / 1.137 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/1.163, allocations: 176.5 kB / 1.137 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.165, allocations: 230.4 kB / 1.137 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/1.178, allocations: 4.163 MB / 1.141 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/1.178, allocations: 6.875 kB / 1.141 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009941/1.179, allocations: 97.39 kB / 1.141 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002922/1.179, allocations: 170.7 kB / 1.142 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009436/1.189, allocations: 3.636 MB / 1.145 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/1.215, allocations: 16.43 MB / 1.161 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003809/1.219, allocations: 2.288 MB / 1.163 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/1.22, allocations: 0.5799 MB / 1.164 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/1.22, allocations: 97.81 kB / 1.164 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/1.22, allocations: 38.66 kB / 1.164 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/1.22, allocations: 0 / 1.164 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.00764/1.228, allocations: 3.426 MB / 1.168 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/1.228, allocations: 123.2 kB / 1.168 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/1.23, allocations: 1.012 MB / 1.169 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/1.23, allocations: 36.52 kB / 1.169 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008742/1.231, allocations: 1.104 MB / 1.17 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/1.231, allocations: 278.3 kB / 1.17 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004795/1.232, allocations: 277.8 kB / 1.17 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002346/1.232, allocations: 408 kB / 1.171 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/1.233, allocations: 0.6203 MB / 1.171 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.235, allocations: 1.189 MB / 1.172 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/1.237, allocations: 1.868 MB / 1.174 GB, free: 15.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/1.237, allocations: 5.562 kB / 1.174 GB, free: 15.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003559/1.241, allocations: 2.015 MB / 1.176 GB, free: 14.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.241, allocations: 13.81 kB / 1.176 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.241, allocations: 18.78 kB / 1.176 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/1.241, allocations: 163.4 kB / 1.176 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.243, allocations: 344.3 kB / 1.177 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.098e-05/1.243, allocations: 39.02 kB / 1.177 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.244, allocations: 140.6 kB / 1.177 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.244, allocations: 68 kB / 1.177 GB, free: 14.2 MB / 0.92 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.001793/1.246, allocations: 0.9784 MB / 1.178 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/1.246, allocations: 107.7 kB / 1.178 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/1.249, allocations: 1.234 MB / 1.179 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.249, allocations: 12.09 kB / 1.179 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.249, allocations: 2.375 kB / 1.179 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.249, allocations: 5.172 kB / 1.179 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/1.256, allocations: 3.796 MB / 1.183 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.256, allocations: 2.906 kB / 1.183 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/1.257, allocations: 157.4 kB / 1.183 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/1.257, allocations: 141.4 kB / 1.183 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/1.257, allocations: 22.11 kB / 1.183 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/1.257, allocations: 9.062 kB / 1.183 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.257, allocations: 4.031 kB / 1.183 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/1.259, allocations: 1.467 MB / 1.185 GB, free: 8.828 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/1.26, allocations: 275.7 kB / 1.185 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/1.26, allocations: 12 kB / 1.185 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/1.261, allocations: 71.84 kB / 1.185 GB, free: 8.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.261, allocations: 56.42 kB / 1.185 GB, free: 8.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/1.261, allocations: 28 kB / 1.185 GB, free: 8.375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001002/1.262, allocations: 0.6991 MB / 1.186 GB, free: 7.664 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/1.262, allocations: 0 / 1.186 GB, free: 7.664 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002105/1.264, allocations: 392.1 kB / 1.186 GB, free: 7.281 MB / 0.92 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.000218/1.264, allocations: 123.1 kB / 1.186 GB, free: 7.152 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002374/1.267, allocations: 1.711 MB / 1.188 GB, free: 5.363 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.267, allocations: 64 / 1.188 GB, free: 5.363 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009896/1.268, allocations: 0.8697 MB / 1.189 GB, free: 4.406 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/1.269, allocations: 272 kB / 1.189 GB, free: 4.141 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/1.277, allocations: 4.133 MB / 1.193 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/1.279, allocations: 1.959 MB / 1.195 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/1.279, allocations: 95.41 kB / 1.195 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of SimCode: time 2.885e-06/1.279, allocations: 0 / 1.195 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of Templates: time 0.07783/1.357, allocations: 73.44 MB / 1.267 GB, free: 4.379 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches