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.007531/0.007532, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.00125/0.00125, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.459/1.459, 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 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02149/1.023, allocations: 16.02 MB / 1.104 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01146/1.035, allocations: 4.817 MB / 1.108 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/1.038, allocations: 64.97 kB / 1.108 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003795/1.041, allocations: 1.051 MB / 1.109 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003293/1.045, allocations: 0.7426 MB / 1.11 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/1.048, allocations: 0.9126 MB / 1.111 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005941/1.054, allocations: 3.619 MB / 1.114 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008572/1.063, allocations: 4.764 MB / 1.119 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/1.067, allocations: 1.583 MB / 1.121 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004203/1.071, allocations: 1.787 MB / 1.122 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/1.073, allocations: 338.5 kB / 1.123 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/1.076, allocations: 0.7939 MB / 1.124 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003304/1.079, allocations: 1.324 MB / 1.125 GB, free: 32 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005167/1.084, allocations: 1.455 MB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/1.096, allocations: 5.131 MB / 1.131 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/1.097, allocations: 1.031 kB / 1.131 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.574e-06/1.097, allocations: 3.938 kB / 1.131 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002861/1.097, allocations: 0 / 1.131 GB, free: 13.49 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.0154/1.112, allocations: 2.652 MB / 1.134 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.112, allocations: 10.03 kB / 1.134 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/1.119, allocations: 0.8289 MB / 1.135 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/1.124, allocations: 1.571 MB / 1.136 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/1.125, allocations: 181.4 kB / 1.136 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/1.126, allocations: 229 kB / 1.137 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/1.142, allocations: 4.163 MB / 1.141 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/1.142, allocations: 2.078 kB / 1.141 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/1.144, allocations: 102.3 kB / 1.141 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003101/1.144, allocations: 174.2 kB / 1.141 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009636/1.154, allocations: 3.632 MB / 1.144 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02799/1.182, allocations: 16.43 MB / 1.161 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/1.186, allocations: 2.296 MB / 1.163 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/1.187, allocations: 0.5804 MB / 1.163 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/1.187, allocations: 93.17 kB / 1.163 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/1.187, allocations: 42.61 kB / 1.163 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 4.438e-06/1.187, allocations: 1.031 kB / 1.163 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008734/1.196, allocations: 3.429 MB / 1.167 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/1.196, allocations: 119.7 kB / 1.167 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/1.198, allocations: 1.012 MB / 1.168 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.851e-05/1.198, allocations: 36.55 kB / 1.168 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/1.199, allocations: 1.104 MB / 1.169 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/1.2, allocations: 274 kB / 1.169 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005863/1.2, allocations: 278.3 kB / 1.17 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002505/1.2, allocations: 410.8 kB / 1.17 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/1.202, allocations: 0.6208 MB / 1.171 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/1.203, allocations: 1.19 MB / 1.172 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/1.206, allocations: 1.867 MB / 1.174 GB, free: 15.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/1.206, allocations: 5.281 kB / 1.174 GB, free: 15.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003997/1.21, allocations: 2.009 MB / 1.176 GB, free: 14.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/1.21, allocations: 12.72 kB / 1.176 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.586e-05/1.21, allocations: 26.73 kB / 1.176 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004951/1.211, allocations: 168.2 kB / 1.176 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.212, allocations: 339.1 kB / 1.176 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.099e-05/1.212, allocations: 38.58 kB / 1.176 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.213, allocations: 138 kB / 1.176 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.214, allocations: 67.53 kB / 1.176 GB, free: 14.18 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.002011/1.216, allocations: 0.9785 MB / 1.177 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/1.216, allocations: 108.1 kB / 1.177 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/1.218, allocations: 1.227 MB / 1.179 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.218, allocations: 12.19 kB / 1.179 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/1.218, allocations: 5.359 kB / 1.179 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.218, allocations: 5.359 kB / 1.179 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008115/1.227, allocations: 3.801 MB / 1.182 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.227, allocations: 2.906 kB / 1.182 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/1.227, allocations: 160.1 kB / 1.182 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/1.228, allocations: 142.2 kB / 1.183 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/1.228, allocations: 14.5 kB / 1.183 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/1.228, allocations: 12.92 kB / 1.183 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.228, allocations: 2.5 kB / 1.183 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/1.23, allocations: 1.463 MB / 1.184 GB, free: 8.84 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000712/1.231, allocations: 275.7 kB / 1.184 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/1.231, allocations: 19.98 kB / 1.184 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/1.232, allocations: 63.91 kB / 1.184 GB, free: 8.469 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.232, allocations: 68.3 kB / 1.184 GB, free: 8.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/1.232, allocations: 24 kB / 1.184 GB, free: 8.379 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001191/1.233, allocations: 0.6953 MB / 1.185 GB, free: 7.672 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.233, allocations: 0 / 1.185 GB, free: 7.672 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002176/1.235, allocations: 392.1 kB / 1.185 GB, free: 7.289 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.0002603/1.236, allocations: 127.1 kB / 1.186 GB, free: 7.16 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002564/1.238, allocations: 1.711 MB / 1.187 GB, free: 5.371 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.238, allocations: 8.062 kB / 1.187 GB, free: 5.363 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.239, allocations: 0.8619 MB / 1.188 GB, free: 4.414 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.241, allocations: 264 kB / 1.188 GB, free: 4.156 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00844/1.249, allocations: 3.768 MB / 1.192 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/1.251, allocations: 1.916 MB / 1.194 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001152/1.253, allocations: 457.6 kB / 1.194 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/1.253, allocations: 79.38 kB / 1.194 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of SimCode: time 9.82e-07/1.253, allocations: 0 / 1.194 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of Templates: time 0.02572/1.279, allocations: 13.66 MB / 1.208 GB, free: 320 kB / 0.9356 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/jenkins/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