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.001333/0.001333, allocations: 102 kB / 16.27 MB, free: 5.965 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.001361/0.001361, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.428/2.428, allocations: 437 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 68.52 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3388, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02246/0.3613, allocations: 16.01 MB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009692/0.3711, allocations: 4.813 MB / 1.038 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.3728, allocations: 63.69 kB / 1.038 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.3762, allocations: 1.047 MB / 1.039 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.3791, allocations: 0.7464 MB / 1.04 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.3823, allocations: 0.9164 MB / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.3876, allocations: 3.614 MB / 1.045 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007455/0.3951, allocations: 4.816 MB / 1.049 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.3982, allocations: 1.578 MB / 1.051 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.4012, allocations: 1.772 MB / 1.053 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.4024, allocations: 340 kB / 1.053 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.4047, allocations: 0.7997 MB / 1.054 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002161/0.4069, allocations: 1.322 MB / 1.055 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.4101, allocations: 1.463 MB / 1.056 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006946/0.4171, allocations: 5.091 MB / 1.061 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.4171, allocations: 0 / 1.061 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4171, allocations: 3.938 kB / 1.061 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001907/0.4173, allocations: 0 / 1.061 GB, free: 14.06 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.007853/0.4252, allocations: 2.647 MB / 1.064 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4252, allocations: 12.88 kB / 1.064 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.4295, allocations: 0.829 MB / 1.065 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.4326, allocations: 1.501 MB / 1.066 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.4328, allocations: 181.1 kB / 1.066 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005976/0.4334, allocations: 236.3 kB / 1.067 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007775/0.4412, allocations: 4.17 MB / 1.071 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-05/0.4413, allocations: 4 kB / 1.071 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.4415, allocations: 95.98 kB / 1.071 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.4418, allocations: 172.5 kB / 1.071 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006933/0.4487, allocations: 3.632 MB / 1.074 GB, free: 332 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5528/1.001, allocations: 16.54 MB / 1.091 GB, free: 46.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/1.005, allocations: 2.293 MB / 1.093 GB, free: 45.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009795/1.006, allocations: 0.5793 MB / 1.093 GB, free: 45.24 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/1.006, allocations: 97.44 kB / 1.094 GB, free: 45.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/1.006, allocations: 47.44 kB / 1.094 GB, free: 45.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/1.006, allocations: 0 / 1.094 GB, free: 45.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.006062/1.012, allocations: 3.429 MB / 1.097 GB, free: 43.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.012, allocations: 112.7 kB / 1.097 GB, free: 43.08 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.014, allocations: 1.014 MB / 1.098 GB, free: 42.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/1.014, allocations: 39.92 kB / 1.098 GB, free: 42.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/1.014, allocations: 1.095 MB / 1.099 GB, free: 41.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/1.015, allocations: 283.7 kB / 1.099 GB, free: 41.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/1.015, allocations: 278.3 kB / 1.1 GB, free: 41.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.015, allocations: 418.5 kB / 1.1 GB, free: 41.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009973/1.016, allocations: 0.6122 MB / 1.101 GB, free: 40.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.017, allocations: 1.185 MB / 1.102 GB, free: 39.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/1.02, allocations: 1.864 MB / 1.104 GB, free: 38.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/1.02, allocations: 5.562 kB / 1.104 GB, free: 38.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003806/1.024, allocations: 2.021 MB / 1.106 GB, free: 37.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.024, allocations: 12.06 kB / 1.106 GB, free: 37.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.024, allocations: 21.91 kB / 1.106 GB, free: 37.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/1.024, allocations: 158.9 kB / 1.106 GB, free: 37.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.025, allocations: 350.2 kB / 1.106 GB, free: 37.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.195e-05/1.025, allocations: 38.58 kB / 1.106 GB, free: 37.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.026, allocations: 127.9 kB / 1.106 GB, free: 37.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.027, allocations: 70.11 kB / 1.106 GB, free: 37.71 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.001505/1.028, allocations: 0.9791 MB / 1.107 GB, free: 37.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/1.028, allocations: 108.5 kB / 1.107 GB, free: 37.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/1.03, allocations: 1.231 MB / 1.109 GB, free: 36.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.031, allocations: 8.938 kB / 1.109 GB, free: 36.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.031, allocations: 2.953 kB / 1.109 GB, free: 36.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.031, allocations: 4.406 kB / 1.109 GB, free: 36.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/1.037, allocations: 3.815 MB / 1.112 GB, free: 34.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.037, allocations: 2.828 kB / 1.112 GB, free: 34.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/1.038, allocations: 160.8 kB / 1.113 GB, free: 34.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/1.038, allocations: 137.2 kB / 1.113 GB, free: 34.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/1.038, allocations: 18.84 kB / 1.113 GB, free: 34.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.038, allocations: 10.17 kB / 1.113 GB, free: 34.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.038, allocations: 3.875 kB / 1.113 GB, free: 34.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.04, allocations: 1.471 MB / 1.114 GB, free: 34.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/1.04, allocations: 269.8 kB / 1.114 GB, free: 33.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.041, allocations: 21.27 kB / 1.114 GB, free: 33.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/1.041, allocations: 61.36 kB / 1.114 GB, free: 33.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.041, allocations: 67.05 kB / 1.115 GB, free: 33.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/1.042, allocations: 21.55 kB / 1.115 GB, free: 33.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001003/1.043, allocations: 0.6949 MB / 1.115 GB, free: 33.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/1.043, allocations: 0 / 1.115 GB, free: 33.53 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001774/1.044, allocations: 388.4 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.0001986/1.045, allocations: 137 kB / 1.116 GB, free: 33.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003103/1.048, allocations: 2.01 MB / 1.118 GB, free: 32.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.048, allocations: 0 / 1.118 GB, free: 32.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009122/1.049, allocations: 0.8634 MB / 1.119 GB, free: 31.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.05, allocations: 268.8 kB / 1.119 GB, free: 31.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/1.057, allocations: 4.182 MB / 1.123 GB, free: 29.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/1.06, allocations: 1.96 MB / 1.125 GB, free: 28.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/1.06, allocations: 93.62 kB / 1.125 GB, free: 28.89 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/1.06, allocations: 0 / 1.125 GB, free: 28.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.07407/1.134, allocations: 73.3 MB / 1.196 GB, free: 14.34 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=480 -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