Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001811/0.001811, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.6/1.6, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9399/0.9419, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0215/0.9634, allocations: 16.02 MB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.9745, allocations: 4.816 MB / 1.038 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.9762, allocations: 63.69 kB / 1.038 GB, free: 13.53 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.9795, allocations: 1.043 MB / 1.039 GB, free: 12.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.9818, allocations: 0.7464 MB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.9843, allocations: 0.9187 MB / 1.04 GB, free: 10.81 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004505/0.9889, allocations: 3.614 MB / 1.044 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005946/0.9948, allocations: 4.814 MB / 1.049 GB, free: 2.305 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.9975, allocations: 1.57 MB / 1.05 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.9999, allocations: 1.776 MB / 1.052 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005695/1, allocations: 340 kB / 1.052 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/1.002, allocations: 0.7919 MB / 1.053 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/1.004, allocations: 1.333 MB / 1.054 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/1.006, allocations: 1.459 MB / 1.056 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006565/1.012, allocations: 5.087 MB / 1.061 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.012, allocations: 4 kB / 1.061 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.913e-06/1.012, allocations: 0 / 1.061 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.087e-05/1.013, allocations: 4 kB / 1.061 GB, free: 5.914 MB / 0.8106 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.006156/1.019, allocations: 2.643 MB / 1.063 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.019, allocations: 15.97 kB / 1.063 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/1.023, allocations: 0.8329 MB / 1.064 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/1.026, allocations: 1.497 MB / 1.066 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/1.026, allocations: 177.1 kB / 1.066 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004156/1.027, allocations: 232.3 kB / 1.066 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/1.034, allocations: 4.167 MB / 1.07 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/1.034, allocations: 11.94 kB / 1.07 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/1.034, allocations: 99.97 kB / 1.07 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/1.035, allocations: 164.5 kB / 1.07 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00659/1.041, allocations: 3.636 MB / 1.074 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/1.062, allocations: 16.55 MB / 1.09 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.066, allocations: 2.289 MB / 1.092 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009418/1.067, allocations: 0.5819 MB / 1.093 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/1.067, allocations: 93.67 kB / 1.093 GB, free: 3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.067, allocations: 43.11 kB / 1.093 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/1.067, allocations: 0 / 1.093 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.006032/1.073, allocations: 3.428 MB / 1.096 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/1.073, allocations: 119.5 kB / 1.096 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.075, allocations: 1.01 MB / 1.097 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/1.075, allocations: 33.7 kB / 1.097 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/1.076, allocations: 1.107 MB / 1.098 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/1.076, allocations: 276.1 kB / 1.099 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/1.077, allocations: 283.2 kB / 1.099 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002353/1.077, allocations: 406.7 kB / 1.099 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.078, allocations: 0.6207 MB / 1.1 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/1.08, allocations: 1.189 MB / 1.101 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/1.082, allocations: 1.864 MB / 1.103 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/1.082, allocations: 8 kB / 1.103 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003644/1.086, allocations: 2.014 MB / 1.105 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/1.086, allocations: 16.67 kB / 1.105 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/1.086, allocations: 20 kB / 1.105 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/1.087, allocations: 163.3 kB / 1.105 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.088, allocations: 343.4 kB / 1.105 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.418e-05/1.088, allocations: 35.86 kB / 1.105 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.089, allocations: 139.5 kB / 1.106 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.089, allocations: 68 kB / 1.106 GB, free: 5.078 MB / 0.8575 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.001745/1.091, allocations: 0.9739 MB / 1.107 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/1.091, allocations: 110.6 kB / 1.107 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/1.093, allocations: 1.234 MB / 1.108 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.093, allocations: 15.92 kB / 1.108 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.093, allocations: 3.938 kB / 1.108 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.093, allocations: 3.984 kB / 1.108 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/1.1, allocations: 3.804 MB / 1.112 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.1, allocations: 7.984 kB / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/1.1, allocations: 151.8 kB / 1.112 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/1.101, allocations: 139.6 kB / 1.112 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/1.101, allocations: 23.94 kB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/1.101, allocations: 11.92 kB / 1.112 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.101, allocations: 4 kB / 1.112 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/1.103, allocations: 1.464 MB / 1.113 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/1.103, allocations: 275.8 kB / 1.114 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/1.103, allocations: 19.91 kB / 1.114 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/1.104, allocations: 63.91 kB / 1.114 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.104, allocations: 64.42 kB / 1.114 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/1.104, allocations: 20 kB / 1.114 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000967/1.105, allocations: 0.6991 MB / 1.115 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.105, allocations: 4 kB / 1.115 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001496/1.107, allocations: 384 kB / 1.115 GB, free: 11.35 MB / 0.8731 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.0002475/1.107, allocations: 124.7 kB / 1.115 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003143/1.11, allocations: 2.016 MB / 1.117 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.11, allocations: 4 kB / 1.117 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.111, allocations: 0.8621 MB / 1.118 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.113, allocations: 274 kB / 1.118 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/1.12, allocations: 3.815 MB / 1.122 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/1.122, allocations: 1.92 MB / 1.124 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001244/1.123, allocations: 449.4 kB / 1.124 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.123, allocations: 83.42 kB / 1.124 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/1.123, allocations: 7.938 kB / 1.124 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of Templates: time 0.02773/1.151, allocations: 13.27 MB / 1.137 GB, free: 4.41 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches