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.001719/0.001719, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001945/0.001945, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.46/1.46, 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 11.0.0-master/package.mo): time 2.483/2.483, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 62.94 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3714, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01984/0.3913, allocations: 16.03 MB / 1.042 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009479/0.4008, allocations: 4.82 MB / 1.047 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.4024, allocations: 67.62 kB / 1.047 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.4055, allocations: 1.045 MB / 1.048 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.4077, allocations: 0.7503 MB / 1.049 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.4101, allocations: 0.9147 MB / 1.05 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004091/0.4142, allocations: 3.611 MB / 1.053 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005056/0.4193, allocations: 4.765 MB / 1.058 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.4217, allocations: 1.585 MB / 1.06 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.424, allocations: 1.78 MB / 1.061 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.4245, allocations: 340 kB / 1.062 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.4261, allocations: 0.7958 MB / 1.062 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.4274, allocations: 1.326 MB / 1.064 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.4291, allocations: 1.455 MB / 1.065 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004659/0.4338, allocations: 5.134 MB / 1.07 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4338, allocations: 0 / 1.07 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4338, allocations: 0 / 1.07 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.876e-05/0.4339, allocations: 0 / 1.07 GB, free: 5.422 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.005019/0.4389, allocations: 2.658 MB / 1.073 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.439, allocations: 8.031 kB / 1.073 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/0.4427, allocations: 0.8368 MB / 1.074 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.446, allocations: 1.564 MB / 1.075 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.4461, allocations: 177.1 kB / 1.075 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.7019/1.148, allocations: 228.7 kB / 1.075 GB, free: 52.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/1.158, allocations: 4.164 MB / 1.079 GB, free: 51.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.522e-05/1.158, allocations: 8.734 kB / 1.079 GB, free: 51.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/1.159, allocations: 99.41 kB / 1.08 GB, free: 51.26 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002757/1.159, allocations: 171.6 kB / 1.08 GB, free: 51.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008105/1.167, allocations: 3.626 MB / 1.083 GB, free: 50.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/1.192, allocations: 16.42 MB / 1.099 GB, free: 37.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/1.196, allocations: 2.297 MB / 1.102 GB, free: 36.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/1.197, allocations: 0.5755 MB / 1.102 GB, free: 36.21 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/1.197, allocations: 92.64 kB / 1.102 GB, free: 36.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/1.197, allocations: 50.08 kB / 1.102 GB, free: 36.06 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 3.747e-06/1.197, allocations: 0.6562 kB / 1.102 GB, free: 36.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.006437/1.204, allocations: 3.427 MB / 1.106 GB, free: 34.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.204, allocations: 112.6 kB / 1.106 GB, free: 34.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.205, allocations: 1.018 MB / 1.107 GB, free: 33.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/1.206, allocations: 40.3 kB / 1.107 GB, free: 33.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008806/1.206, allocations: 1.095 MB / 1.108 GB, free: 32.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.207, allocations: 283.9 kB / 1.108 GB, free: 32.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004628/1.207, allocations: 278 kB / 1.108 GB, free: 32.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.207, allocations: 417.4 kB / 1.109 GB, free: 32.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/1.208, allocations: 0.6127 MB / 1.109 GB, free: 31.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/1.21, allocations: 1.187 MB / 1.111 GB, free: 30.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/1.212, allocations: 1.865 MB / 1.112 GB, free: 29.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.212, allocations: 5.406 kB / 1.112 GB, free: 29.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003974/1.216, allocations: 2.017 MB / 1.114 GB, free: 28.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/1.216, allocations: 17.53 kB / 1.114 GB, free: 28.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/1.216, allocations: 18.28 kB / 1.114 GB, free: 28.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004825/1.217, allocations: 163.8 kB / 1.115 GB, free: 28.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.218, allocations: 345.1 kB / 1.115 GB, free: 28.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.456e-05/1.218, allocations: 45.64 kB / 1.115 GB, free: 28.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.219, allocations: 122.5 kB / 1.115 GB, free: 28.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.219, allocations: 70.36 kB / 1.115 GB, free: 28.66 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.001824/1.221, allocations: 0.9877 MB / 1.116 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/1.222, allocations: 108.5 kB / 1.116 GB, free: 28.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/1.224, allocations: 1.225 MB / 1.117 GB, free: 27.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.224, allocations: 7.781 kB / 1.117 GB, free: 27.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.224, allocations: 2.562 kB / 1.117 GB, free: 27.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.224, allocations: 5.844 kB / 1.117 GB, free: 27.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/1.231, allocations: 3.796 MB / 1.121 GB, free: 25.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.231, allocations: 6.375 kB / 1.121 GB, free: 25.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/1.231, allocations: 160.3 kB / 1.121 GB, free: 25.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/1.232, allocations: 140.9 kB / 1.121 GB, free: 25.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/1.232, allocations: 19.84 kB / 1.121 GB, free: 25.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.232, allocations: 5.906 kB / 1.121 GB, free: 25.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.232, allocations: 6.875 kB / 1.121 GB, free: 25.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.234, allocations: 1.465 MB / 1.123 GB, free: 25.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/1.234, allocations: 281.8 kB / 1.123 GB, free: 24.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.235, allocations: 23.23 kB / 1.123 GB, free: 24.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/1.235, allocations: 67.3 kB / 1.123 GB, free: 24.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.235, allocations: 58.84 kB / 1.123 GB, free: 24.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/1.235, allocations: 20.59 kB / 1.123 GB, free: 24.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001025/1.236, allocations: 0.6966 MB / 1.124 GB, free: 24.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.11e-07/1.236, allocations: 0 / 1.124 GB, free: 24.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001767/1.238, allocations: 392.3 kB / 1.124 GB, free: 24.45 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.0002148/1.238, allocations: 127 kB / 1.124 GB, free: 24.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002382/1.241, allocations: 1.716 MB / 1.126 GB, free: 23.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.241, allocations: 1.375 kB / 1.126 GB, free: 23.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008362/1.242, allocations: 0.8576 MB / 1.127 GB, free: 22.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.243, allocations: 277.2 kB / 1.127 GB, free: 22.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/1.25, allocations: 3.775 MB / 1.131 GB, free: 20.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/1.251, allocations: 1.919 MB / 1.133 GB, free: 19.49 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0012/1.252, allocations: 451.1 kB / 1.133 GB, free: 19.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/1.253, allocations: 84.73 kB / 1.133 GB, free: 19.29 MB / 0.8419 GB Notification: Performance of SimCode: time 1.052e-06/1.253, allocations: 0 / 1.133 GB, free: 19.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.02781/1.281, allocations: 13.28 MB / 1.146 GB, free: 12.38 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 cvode -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