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.001673/0.001673, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001593/0.001593, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.491/1.491, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.524/2.524, allocations: 437.1 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 75.89 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02143/0.3726, allocations: 16.01 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009381/0.382, allocations: 4.813 MB / 1.038 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.3836, allocations: 63.69 kB / 1.038 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.3871, allocations: 1.041 MB / 1.039 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.3897, allocations: 0.7542 MB / 1.04 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.3925, allocations: 0.9148 MB / 1.041 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005289/0.3978, allocations: 3.61 MB / 1.045 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006479/0.4044, allocations: 4.82 MB / 1.049 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.4074, allocations: 1.582 MB / 1.051 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.4108, allocations: 1.772 MB / 1.053 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007675/0.4116, allocations: 340 kB / 1.053 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.4135, allocations: 0.7919 MB / 1.054 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.4152, allocations: 1.333 MB / 1.055 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.4174, allocations: 1.455 MB / 1.056 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.4238, allocations: 5.091 MB / 1.061 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4238, allocations: 3.938 kB / 1.061 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4238, allocations: 0 / 1.061 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000161/0.424, allocations: 4 kB / 1.061 GB, free: 14.04 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.006827/0.4308, allocations: 2.643 MB / 1.064 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4309, allocations: 16.88 kB / 1.064 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/0.4353, allocations: 0.8368 MB / 1.065 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.4387, allocations: 1.501 MB / 1.066 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.4389, allocations: 177.1 kB / 1.066 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006728/0.4396, allocations: 228.4 kB / 1.067 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008576/0.4482, allocations: 4.17 MB / 1.071 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.4483, allocations: 4 kB / 1.071 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004477/0.4487, allocations: 95.98 kB / 1.071 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/0.449, allocations: 172.5 kB / 1.071 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007417/0.4564, allocations: 3.632 MB / 1.074 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6161/1.073, allocations: 16.54 MB / 1.091 GB, free: 46.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/1.076, allocations: 2.299 MB / 1.093 GB, free: 45.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009998/1.077, allocations: 0.5766 MB / 1.093 GB, free: 45.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/1.077, allocations: 99.86 kB / 1.094 GB, free: 45.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.077, allocations: 48.39 kB / 1.094 GB, free: 45.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 3.146e-06/1.077, allocations: 3.938 kB / 1.094 GB, free: 45.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.007245/1.085, allocations: 3.422 MB / 1.097 GB, free: 43.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.085, allocations: 112.4 kB / 1.097 GB, free: 43.08 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/1.086, allocations: 1.021 MB / 1.098 GB, free: 42.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/1.086, allocations: 41.36 kB / 1.098 GB, free: 42.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/1.087, allocations: 1.102 MB / 1.099 GB, free: 41.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/1.087, allocations: 271 kB / 1.099 GB, free: 41.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/1.088, allocations: 282.9 kB / 1.1 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.088, allocations: 414.2 kB / 1.1 GB, free: 41.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/1.089, allocations: 0.6114 MB / 1.101 GB, free: 40.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/1.09, allocations: 1.19 MB / 1.102 GB, free: 39.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/1.093, allocations: 1.861 MB / 1.104 GB, free: 38.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/1.093, allocations: 7.344 kB / 1.104 GB, free: 38.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004307/1.097, allocations: 2.014 MB / 1.106 GB, free: 37.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/1.097, allocations: 14.44 kB / 1.106 GB, free: 37.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-05/1.097, allocations: 18.66 kB / 1.106 GB, free: 37.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/1.098, allocations: 164.3 kB / 1.106 GB, free: 37.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.099, allocations: 353.8 kB / 1.106 GB, free: 37.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.507e-05/1.099, allocations: 39 kB / 1.106 GB, free: 37.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.1, allocations: 130.6 kB / 1.106 GB, free: 37.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/1.101, allocations: 70.83 kB / 1.106 GB, free: 37.7 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.002398/1.103, allocations: 0.972 MB / 1.107 GB, free: 37.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/1.104, allocations: 105.2 kB / 1.107 GB, free: 37.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/1.107, allocations: 1.236 MB / 1.109 GB, free: 36.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.107, allocations: 8.688 kB / 1.109 GB, free: 36.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.107, allocations: 2.5 kB / 1.109 GB, free: 36.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.107, allocations: 4.859 kB / 1.109 GB, free: 36.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008768/1.115, allocations: 3.811 MB / 1.112 GB, free: 34.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.115, allocations: 3.688 kB / 1.112 GB, free: 34.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/1.116, allocations: 155.5 kB / 1.113 GB, free: 34.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003828/1.116, allocations: 141.4 kB / 1.113 GB, free: 34.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/1.117, allocations: 20.02 kB / 1.113 GB, free: 34.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.746e-05/1.117, allocations: 17.33 kB / 1.113 GB, free: 34.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.117, allocations: 2.719 kB / 1.113 GB, free: 34.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/1.119, allocations: 1.472 MB / 1.114 GB, free: 34.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/1.119, allocations: 267.5 kB / 1.114 GB, free: 33.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.119, allocations: 21.98 kB / 1.114 GB, free: 33.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/1.12, allocations: 63.59 kB / 1.114 GB, free: 33.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.12, allocations: 58.48 kB / 1.115 GB, free: 33.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/1.12, allocations: 21.33 kB / 1.115 GB, free: 33.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001007/1.121, allocations: 0.7001 MB / 1.115 GB, free: 33.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/1.121, allocations: 0 / 1.115 GB, free: 33.53 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001902/1.123, allocations: 388.6 kB / 1.116 GB, free: 33.5 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.0002077/1.123, allocations: 131.7 kB / 1.116 GB, free: 33.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003082/1.127, allocations: 2.01 MB / 1.118 GB, free: 32.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.127, allocations: 1.625 kB / 1.118 GB, free: 32.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009052/1.127, allocations: 0.8669 MB / 1.119 GB, free: 31.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.129, allocations: 260.5 kB / 1.119 GB, free: 31.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007254/1.136, allocations: 4.179 MB / 1.123 GB, free: 29.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/1.138, allocations: 1.971 MB / 1.125 GB, free: 28.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/1.139, allocations: 97.55 kB / 1.125 GB, free: 28.89 MB / 0.8419 GB Notification: Performance of SimCode: time 1.142e-06/1.139, allocations: 2.062 kB / 1.125 GB, free: 28.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.08594/1.225, allocations: 73.28 MB / 1.196 GB, free: 14.29 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/jenkins1/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