Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01234/0.01234, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.002804/0.002804, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.579/2.579, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9864/0.9877, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005576/0.9933, allocations: 3.75 MB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.9968, allocations: 1.796 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.9971, allocations: 15.88 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.9982, allocations: 266.7 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009556/0.9992, allocations: 314.4 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/1, allocations: 248.4 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009941/1.001, allocations: 0.6049 MB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/1.002, allocations: 262.5 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004747/1.002, allocations: 239.1 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/1.003, allocations: 227 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/1.003, allocations: 28 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/1.003, allocations: 275.4 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/1.003, allocations: 119.6 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/1.004, allocations: 218.8 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008341/1.004, allocations: 0.5958 MB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.004, allocations: 0 / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.725e-06/1.004, allocations: 0 / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.005, allocations: 0 / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001405/1.006, allocations: 0.7473 MB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.006, allocations: 8.922 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009519/1.007, allocations: 136.5 kB / 1.176 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/1.008, allocations: 415.8 kB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/1.008, allocations: 25.02 kB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/1.008, allocations: 32.38 kB / 1.177 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/1.009, allocations: 0.5516 MB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.009, allocations: 7.938 kB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/1.009, allocations: 19.97 kB / 1.177 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/1.009, allocations: 44.53 kB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/1.01, allocations: 405.8 kB / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/1.012, allocations: 3.334 MB / 1.181 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/1.013, allocations: 334.4 kB / 1.181 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/1.013, allocations: 178.9 kB / 1.181 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/1.013, allocations: 4 kB / 1.181 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/1.013, allocations: 42.56 kB / 1.181 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/1.013, allocations: 0 / 1.181 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=27): time 0.002002/1.015, allocations: 1.06 MB / 1.182 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.016, allocations: 55.64 kB / 1.182 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/1.016, allocations: 345.6 kB / 1.183 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/1.016, allocations: 29.7 kB / 1.183 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/1.016, allocations: 260 kB / 1.183 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/1.016, allocations: 95.17 kB / 1.183 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.016, allocations: 74.09 kB / 1.183 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.016, allocations: 354.8 kB / 1.184 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/1.017, allocations: 148.8 kB / 1.184 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/1.017, allocations: 286.5 kB / 1.184 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/1.018, allocations: 490.4 kB / 1.184 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.018, allocations: 0 / 1.184 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000956/1.019, allocations: 0.5618 MB / 1.185 GB, free: 216 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.019, allocations: 8 kB / 1.185 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.019, allocations: 4 kB / 1.185 GB, free: 204 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/1.019, allocations: 91.08 kB / 1.185 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/1.019, allocations: 87.81 kB / 1.185 GB, free: 16 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.019, allocations: 7.984 kB / 1.185 GB, free: 8 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/1.02, allocations: 35.98 kB / 1.185 GB, free: 15.97 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.02, allocations: 19.98 kB / 1.185 GB, free: 15.95 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(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.0001944/1.02, allocations: 184.5 kB / 1.185 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/1.02, allocations: 39.77 kB / 1.185 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008434/1.021, allocations: 464 kB / 1.186 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.021, allocations: 0 / 1.186 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.021, allocations: 7.938 kB / 1.186 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.021, allocations: 3.984 kB / 1.186 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/1.022, allocations: 0.9636 MB / 1.187 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.022, allocations: 0 / 1.187 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/1.023, allocations: 47.91 kB / 1.187 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/1.023, allocations: 86.59 kB / 1.187 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.023, allocations: 8 kB / 1.187 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.023, allocations: 0 / 1.187 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.023, allocations: 4 kB / 1.187 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007744/1.024, allocations: 0.5513 MB / 1.188 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/1.024, allocations: 144.7 kB / 1.188 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/1.024, allocations: 8 kB / 1.188 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/1.024, allocations: 23.97 kB / 1.188 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/1.024, allocations: 19.91 kB / 1.188 GB, free: 13.26 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.024, allocations: 16 kB / 1.188 GB, free: 13.24 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002157/1.024, allocations: 235.2 kB / 1.188 GB, free: 13.02 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.024, allocations: 0 / 1.188 GB, free: 13.02 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004134/1.025, allocations: 88 kB / 1.188 GB, free: 12.93 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(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.0001406/1.025, allocations: 103.2 kB / 1.188 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008905/1.026, allocations: 0.6303 MB / 1.189 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.026, allocations: 0 / 1.189 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/1.026, allocations: 431.1 kB / 1.189 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/1.027, allocations: 132.6 kB / 1.189 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/1.028, allocations: 0.7317 MB / 1.19 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/1.029, allocations: 0.8272 MB / 1.191 GB, free: 9.898 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002091/1.029, allocations: 83.28 kB / 1.191 GB, free: 9.816 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/1.029, allocations: 31.44 kB / 1.191 GB, free: 9.785 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/1.029, allocations: 0 / 1.191 GB, free: 9.785 MB / 0.92 GB Notification: Performance of Templates: time 0.009136/1.038, allocations: 4.73 MB / 1.196 GB, free: 5.117 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches