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.001431/0.001431, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001477/0.001477, allocations: 189.5 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.391/1.391, allocations: 222.9 MB / 241 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.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.88 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9938/0.9952, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003903/0.9991, allocations: 2.629 MB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002101/1.001, allocations: 1.321 MB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/1.001, allocations: 11.91 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008723/1.002, allocations: 169.7 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005036/1.003, allocations: 162.7 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/1.003, allocations: 168.2 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000386/1.004, allocations: 268.5 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/1.004, allocations: 139.2 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/1.004, allocations: 108 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/1.005, allocations: 123.1 kB / 1.094 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/1.005, allocations: 14.25 kB / 1.094 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/1.005, allocations: 149.4 kB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/1.005, allocations: 71.75 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/1.005, allocations: 87.22 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/1.006, allocations: 291 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.006, allocations: 0 / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/1.006, allocations: 0.5625 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.006, allocations: 4 kB / 1.094 GB, free: 2.082 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.0007751/1.007, allocations: 0.4924 MB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.007, allocations: 9.734 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/1.007, allocations: 71.92 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/1.007, allocations: 239.6 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/1.007, allocations: 14.77 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/1.008, allocations: 17.59 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/1.008, allocations: 306.8 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.008, allocations: 1.578 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/1.008, allocations: 10.34 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/1.008, allocations: 26.83 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/1.009, allocations: 266.2 kB / 1.096 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/1.01, allocations: 1.5 MB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/1.011, allocations: 254.6 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/1.011, allocations: 125.3 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.011, allocations: 5.812 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.011, allocations: 37.05 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/1.011, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008839/1.012, allocations: 349 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.012, allocations: 79.84 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/1.012, allocations: 172.4 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/1.012, allocations: 30.83 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/1.012, allocations: 148.8 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/1.013, allocations: 51.34 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/1.013, allocations: 48.12 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.013, allocations: 331.8 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.013, allocations: 110.7 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/1.013, allocations: 164.4 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/1.014, allocations: 285.5 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.014, allocations: 0 / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006092/1.014, allocations: 306.8 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.014, allocations: 10.19 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.014, allocations: 2.297 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.014, allocations: 6.609 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/1.015, allocations: 55.84 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.015, allocations: 4.453 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/1.015, allocations: 32.06 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/1.015, allocations: 7.953 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003156/1.015, allocations: 200.6 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002441/1.016, allocations: 152.1 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004394/1.016, allocations: 254.3 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/1.016, allocations: 0.75 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005525/1.017, allocations: 278.3 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.017, allocations: 5.344 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/1.017, allocations: 6.641 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/1.017, allocations: 4.625 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/1.017, allocations: 46.92 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.017, allocations: 12.41 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/1.017, allocations: 29.05 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/1.017, allocations: 11.12 kB / 1.1 GB, free: 13.7 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.0001085/1.017, allocations: 192.5 kB / 1.101 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/1.017, allocations: 16.91 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/1.018, allocations: 270.7 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.018, allocations: 6.359 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.018, allocations: 0.8125 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.018, allocations: 111.7 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/1.018, allocations: 10.78 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/1.018, allocations: 22.98 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/1.018, allocations: 17.25 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000684/1.019, allocations: 424.4 kB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006/1.02, allocations: 492.6 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002334/1.02, allocations: 114.2 kB / 1.102 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001178/1.02, allocations: 138.8 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of Backend: time 6.42e-07/1.02, allocations: 0 / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001294/1.021, allocations: 441.8 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001017/1.022, allocations: 0.7927 MB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.01054/1.033, allocations: 3.999 MB / 1.107 GB, free: 11.38 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/jenkins1/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