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.00169/0.00169, allocations: 116.2 kB / 16.42 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.00174/0.00174, allocations: 183.9 kB / 17.35 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9194/0.9209, allocations: 140.4 MB / 1.089 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0193/0.9403, allocations: 16 MB / 1.104 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.9506, allocations: 4.825 MB / 1.109 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.9528, allocations: 65.38 kB / 1.109 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.9567, allocations: 1.056 MB / 1.11 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.9601, allocations: 0.7747 MB / 1.111 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.9633, allocations: 0.9134 MB / 1.112 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006044/0.9693, allocations: 3.625 MB / 1.115 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008877/0.9782, allocations: 4.763 MB / 1.12 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.9821, allocations: 1.599 MB / 1.121 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/0.9863, allocations: 1.779 MB / 1.123 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.9878, allocations: 338.7 kB / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.9913, allocations: 0.7937 MB / 1.124 GB, free: 496 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003147/0.9944, allocations: 1.328 MB / 1.126 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004799/0.9993, allocations: 1.455 MB / 1.127 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009622/1.009, allocations: 5.131 MB / 1.132 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.009, allocations: 0 / 1.132 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.284e-06/1.009, allocations: 4 kB / 1.132 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000175/1.009, allocations: 1.062 kB / 1.132 GB, free: 13.39 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.007986/1.017, allocations: 2.659 MB / 1.135 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.017, allocations: 7.969 kB / 1.135 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/1.022, allocations: 0.8324 MB / 1.135 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/1.026, allocations: 1.571 MB / 1.137 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.026, allocations: 177.4 kB / 1.137 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006141/1.027, allocations: 229 kB / 1.137 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009623/1.037, allocations: 4.16 MB / 1.141 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.242e-05/1.037, allocations: 10.22 kB / 1.141 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/1.037, allocations: 98.42 kB / 1.142 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/1.037, allocations: 166.1 kB / 1.142 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007264/1.045, allocations: 3.642 MB / 1.145 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/1.07, allocations: 16.42 MB / 1.161 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/1.074, allocations: 2.288 MB / 1.164 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/1.075, allocations: 0.5798 MB / 1.164 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/1.075, allocations: 101.6 kB / 1.164 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.075, allocations: 38.81 kB / 1.164 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 3.947e-06/1.075, allocations: 0 / 1.164 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.007736/1.083, allocations: 3.431 MB / 1.168 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/1.083, allocations: 115.3 kB / 1.168 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/1.085, allocations: 1.02 MB / 1.169 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/1.085, allocations: 36.08 kB / 1.169 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/1.086, allocations: 1.105 MB / 1.17 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.086, allocations: 274.5 kB / 1.17 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004898/1.087, allocations: 276.5 kB / 1.17 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002494/1.087, allocations: 415.8 kB / 1.171 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/1.088, allocations: 0.6124 MB / 1.171 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/1.09, allocations: 1.197 MB / 1.172 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/1.092, allocations: 1.857 MB / 1.174 GB, free: 15.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.039e-05/1.092, allocations: 13.69 kB / 1.174 GB, free: 15.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003973/1.096, allocations: 2.007 MB / 1.176 GB, free: 14.36 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/1.097, allocations: 16.81 kB / 1.176 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/1.097, allocations: 24.34 kB / 1.176 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/1.097, allocations: 163.2 kB / 1.176 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.098, allocations: 347.3 kB / 1.177 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-05/1.098, allocations: 38.7 kB / 1.177 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.1, allocations: 138.2 kB / 1.177 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.1, allocations: 67.08 kB / 1.177 GB, free: 14.07 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.002093/1.102, allocations: 0.9781 MB / 1.178 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/1.102, allocations: 108 kB / 1.178 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/1.105, allocations: 1.23 MB / 1.179 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/1.105, allocations: 13.86 kB / 1.179 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.105, allocations: 0 / 1.179 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/1.106, allocations: 266.3 kB / 1.18 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/1.106, allocations: 15.38 kB / 1.18 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/1.107, allocations: 64.7 kB / 1.18 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.107, allocations: 49.75 kB / 1.18 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002789/1.11, allocations: 1.434 MB / 1.181 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003048/1.113, allocations: 1.911 MB / 1.183 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007104/1.114, allocations: 474.5 kB / 1.183 GB, free: 10.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001274/1.115, allocations: 0.6979 MB / 1.184 GB, free: 9.531 MB / 0.92 GB Notification: Performance of Backend: time 9.01e-07/1.115, allocations: 0 / 1.184 GB, free: 9.531 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00409/1.119, allocations: 1.643 MB / 1.186 GB, free: 7.801 MB / 0.92 GB Notification: Performance of SimCode: time 0.009024/1.128, allocations: 4.035 MB / 1.19 GB, free: 3.707 MB / 0.92 GB Notification: Performance of Templates: time 0.03571/1.164, allocations: 18.83 MB / 1.208 GB, free: 1.023 MB / 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/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