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.001733/0.001733, allocations: 109.7 kB / 16.42 MB, free: 6.457 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.001968/0.001968, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.663/1.663, allocations: 222.9 MB / 241.1 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.512/2.512, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006375/1.042, allocations: 3.757 MB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003646/1.046, allocations: 1.789 MB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/1.046, allocations: 15.88 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/1.048, allocations: 283.8 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009534/1.049, allocations: 302.5 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/1.049, allocations: 252.8 kB / 1.174 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008968/1.05, allocations: 0.6049 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/1.051, allocations: 262.5 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004958/1.051, allocations: 239.1 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/1.052, allocations: 234.9 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/1.052, allocations: 28 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/1.052, allocations: 271.4 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/1.053, allocations: 119.6 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/1.053, allocations: 206.9 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007187/1.054, allocations: 0.5973 MB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.054, allocations: 0 / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.954e-06/1.054, allocations: 7.938 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.886e-06/1.054, allocations: 0 / 1.176 GB, free: 10.89 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.001264/1.055, allocations: 0.7323 MB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.055, allocations: 8.922 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/1.056, allocations: 132.2 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/1.057, allocations: 415.5 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.057, allocations: 21.03 kB / 1.177 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/1.057, allocations: 32.36 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/1.058, allocations: 0.551 MB / 1.178 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.058, allocations: 4 kB / 1.178 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/1.058, allocations: 12 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/1.058, allocations: 40.53 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008055/1.058, allocations: 413.7 kB / 1.178 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/1.062, allocations: 3.33 MB / 1.182 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/1.063, allocations: 334.5 kB / 1.182 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/1.063, allocations: 176.7 kB / 1.182 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/1.063, allocations: 7.938 kB / 1.182 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.063, allocations: 34.56 kB / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 3.436e-06/1.063, allocations: 0 / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=27): time 0.002206/1.065, allocations: 1.065 MB / 1.183 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.065, allocations: 59.58 kB / 1.183 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/1.066, allocations: 341.6 kB / 1.183 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/1.066, allocations: 29.7 kB / 1.184 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/1.066, allocations: 247.5 kB / 1.184 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/1.066, allocations: 94.67 kB / 1.184 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/1.066, allocations: 78.03 kB / 1.184 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.066, allocations: 342.8 kB / 1.184 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/1.067, allocations: 156.8 kB / 1.184 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/1.067, allocations: 286.5 kB / 1.185 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/1.068, allocations: 498.4 kB / 1.185 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.068, allocations: 0 / 1.185 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009743/1.069, allocations: 0.5578 MB / 1.186 GB, free: 280 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.069, allocations: 4 kB / 1.186 GB, free: 276 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.069, allocations: 8 kB / 1.186 GB, free: 268 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/1.069, allocations: 86.94 kB / 1.186 GB, free: 172 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/1.069, allocations: 95.88 kB / 1.186 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/1.069, allocations: 7.938 kB / 1.186 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/1.07, allocations: 35.91 kB / 1.186 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.07, allocations: 12 kB / 1.186 GB, free: 20 kB / 0.9044 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.0002432/1.07, allocations: 172.6 kB / 1.186 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/1.07, allocations: 39.53 kB / 1.186 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009055/1.071, allocations: 475.9 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.071, allocations: 0 / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.071, allocations: 3.938 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/1.071, allocations: 132.6 kB / 1.187 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/1.071, allocations: 4 kB / 1.187 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/1.071, allocations: 27.91 kB / 1.187 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/1.072, allocations: 19.97 kB / 1.187 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001107/1.073, allocations: 0.5346 MB / 1.187 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009625/1.074, allocations: 0.6899 MB / 1.188 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002621/1.074, allocations: 147.9 kB / 1.188 GB, free: 13.72 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000222/1.074, allocations: 235.2 kB / 1.188 GB, free: 13.49 MB / 0.92 GB Notification: Performance of Backend: time 7.42e-07/1.074, allocations: 0 / 1.188 GB, free: 13.49 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001421/1.076, allocations: 0.7274 MB / 1.189 GB, free: 12.69 MB / 0.92 GB Notification: Performance of SimCode: time 0.001502/1.077, allocations: 1.207 MB / 1.19 GB, free: 11.44 MB / 0.92 GB Notification: Performance of Templates: time 0.01144/1.089, allocations: 6.561 MB / 1.197 GB, free: 4.941 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/jenkins1/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