Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01007/0.01007, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001935/0.001936, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.672/1.672, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004292/1.023, allocations: 2.646 MB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002279/1.025, allocations: 1.315 MB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/1.025, allocations: 6.906 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007063/1.026, allocations: 174.3 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/1.027, allocations: 173.1 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/1.027, allocations: 161 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000361/1.027, allocations: 259.6 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/1.028, allocations: 143.1 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/1.028, allocations: 108.3 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/1.028, allocations: 127.2 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/1.028, allocations: 14.09 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/1.029, allocations: 153 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/1.029, allocations: 63.75 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/1.029, allocations: 91.41 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/1.03, allocations: 293.9 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.03, allocations: 1 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.03, allocations: 0 / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.03, allocations: 0 / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008415/1.03, allocations: 0.4985 MB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.03, allocations: 9.531 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/1.031, allocations: 66.64 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/1.031, allocations: 244.8 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/1.031, allocations: 10.75 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/1.031, allocations: 13.59 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/1.032, allocations: 308.1 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/1.032, allocations: 0 / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/1.032, allocations: 10.53 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.581e-05/1.032, allocations: 27.73 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/1.033, allocations: 264.9 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/1.035, allocations: 1.497 MB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/1.035, allocations: 258.3 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/1.036, allocations: 137.2 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/1.036, allocations: 5.031 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.036, allocations: 33.19 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/1.036, allocations: 0 / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0009278/1.037, allocations: 347.6 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/1.037, allocations: 79.23 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/1.037, allocations: 180 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.037, allocations: 27.78 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.037, allocations: 148.9 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/1.037, allocations: 58.62 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/1.037, allocations: 44.36 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.037, allocations: 331 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/1.038, allocations: 108 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/1.038, allocations: 164.2 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/1.039, allocations: 283.7 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.039, allocations: 0 / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006648/1.039, allocations: 313 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.039, allocations: 5.094 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.039, allocations: 3.266 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.039, allocations: 2.781 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/1.04, allocations: 64.31 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.04, allocations: 2.703 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/1.04, allocations: 32.61 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/1.04, allocations: 12.31 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003311/1.04, allocations: 196 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002906/1.041, allocations: 155.9 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005126/1.041, allocations: 248.9 kB / 1.099 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/1.041, allocations: 1 kB / 1.099 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006818/1.042, allocations: 280.5 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.042, allocations: 10.53 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.042, allocations: 2.891 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/1.042, allocations: 3.25 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.042, allocations: 50.83 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.042, allocations: 7.766 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/1.042, allocations: 26.59 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.042, allocations: 14.31 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/1.042, allocations: 189.1 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/1.043, allocations: 16.31 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/1.043, allocations: 271.4 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.043, allocations: 2.312 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.043, allocations: 1.188 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.043, allocations: 1.172 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.045, allocations: 0.6855 MB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.045, allocations: 1.594 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/1.045, allocations: 44 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.045, allocations: 2.219 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/1.045, allocations: 11.73 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/1.045, allocations: 10.06 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.045, allocations: 1.547 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/1.046, allocations: 442.7 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.046, allocations: 121.3 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/1.046, allocations: 7.406 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/1.046, allocations: 20.61 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/1.047, allocations: 10.52 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/1.047, allocations: 9.188 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001759/1.047, allocations: 134.4 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.374e-06/1.047, allocations: 0 / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006318/1.047, allocations: 90 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/1.048, allocations: 106.2 kB / 1.102 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.049, allocations: 376.5 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.049, allocations: 0.5 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/1.049, allocations: 116.2 kB / 1.102 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/1.05, allocations: 44.36 kB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/1.051, allocations: 441.4 kB / 1.103 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/1.051, allocations: 0.7463 MB / 1.104 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002621/1.051, allocations: 77.94 kB / 1.104 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/1.051, allocations: 21.8 kB / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/1.051, allocations: 0 / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.006815/1.058, allocations: 2.341 MB / 1.106 GB, free: 10.92 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches