Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001339/0.001339, allocations: 115.3 kB / 16.81 MB, free: 5.766 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.001294/0.001294, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.469/1.469, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 63.8 kB / 1.097 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3816, allocations: 168.7 MB / 1.262 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005019/0.3867, allocations: 2.674 MB / 1.265 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3891, allocations: 1.332 MB / 1.266 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.3893, allocations: 8 kB / 1.266 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.3901, allocations: 179.2 kB / 1.266 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000511/0.3906, allocations: 163.3 kB / 1.266 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.3911, allocations: 167.6 kB / 1.266 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.3915, allocations: 259.2 kB / 1.267 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.3919, allocations: 113.5 kB / 1.267 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.3921, allocations: 95.69 kB / 1.267 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.3924, allocations: 147.5 kB / 1.267 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.3925, allocations: 16 kB / 1.267 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.3928, allocations: 147.6 kB / 1.267 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3929, allocations: 75.8 kB / 1.267 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.393, allocations: 87.53 kB / 1.267 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.3935, allocations: 294.8 kB / 1.268 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3935, allocations: 4 kB / 1.268 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3935, allocations: 3.938 kB / 1.268 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3936, allocations: 0 / 1.268 GB, free: 7.352 MB / 0.9825 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.0009681/0.3945, allocations: 0.4948 MB / 1.268 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3946, allocations: 12.03 kB / 1.268 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.3951, allocations: 64.72 kB / 1.268 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3954, allocations: 247 kB / 1.268 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3954, allocations: 8.656 kB / 1.268 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.3955, allocations: 20.34 kB / 1.268 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.396, allocations: 309.4 kB / 1.269 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.396, allocations: 4 kB / 1.269 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.3961, allocations: 4 kB / 1.269 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.3961, allocations: 32.25 kB / 1.269 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.3966, allocations: 260.5 kB / 1.269 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.3984, allocations: 1.498 MB / 1.271 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.3989, allocations: 253 kB / 1.271 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.3992, allocations: 113.6 kB / 1.271 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3992, allocations: 4 kB / 1.271 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3992, allocations: 34.56 kB / 1.271 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.3992, allocations: 0 / 1.271 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0008106/0.4, allocations: 351.4 kB / 1.271 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.4001, allocations: 77.11 kB / 1.271 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.4003, allocations: 179.9 kB / 1.271 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.4003, allocations: 29.7 kB / 1.272 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4004, allocations: 140.3 kB / 1.272 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.4005, allocations: 63.47 kB / 1.272 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.728e-05/0.4006, allocations: 41.7 kB / 1.272 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4007, allocations: 338.8 kB / 1.272 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.401, allocations: 100.8 kB / 1.272 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.4012, allocations: 167.6 kB / 1.272 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.4017, allocations: 286.7 kB / 1.273 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4017, allocations: 0 / 1.273 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005616/0.4023, allocations: 305.3 kB / 1.273 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4023, allocations: 11.94 kB / 1.273 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4023, allocations: 0 / 1.273 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4023, allocations: 8.219 kB / 1.273 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.4026, allocations: 55.89 kB / 1.273 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4026, allocations: 0 / 1.273 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.4028, allocations: 35.86 kB / 1.273 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.4028, allocations: 8 kB / 1.273 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002824/0.4031, allocations: 195.9 kB / 1.273 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002406/0.4033, allocations: 166.5 kB / 1.273 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004022/0.4037, allocations: 250.2 kB / 1.274 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.4037, allocations: 0 / 1.274 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005009/0.4042, allocations: 285.2 kB / 1.274 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.4043, allocations: 5.094 kB / 1.274 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4043, allocations: 8 kB / 1.274 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.4043, allocations: 4 kB / 1.274 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.4045, allocations: 47.91 kB / 1.274 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4045, allocations: 7.984 kB / 1.274 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4046, allocations: 24.19 kB / 1.274 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4047, allocations: 8 kB / 1.274 GB, free: 424 kB / 0.9825 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.0001447/0.4048, allocations: 196.1 kB / 1.274 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.4049, allocations: 19.91 kB / 1.274 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.4054, allocations: 265.4 kB / 1.274 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4055, allocations: 0 / 1.274 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4055, allocations: 0 / 1.274 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4056, allocations: 124.9 kB / 1.275 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.4056, allocations: 7.938 kB / 1.275 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.4059, allocations: 27.95 kB / 1.275 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.4059, allocations: 7.984 kB / 1.275 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006612/0.4066, allocations: 416 kB / 1.275 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005858/0.4072, allocations: 0.4939 MB / 1.275 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002026/0.4074, allocations: 101.1 kB / 1.276 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001136/0.4075, allocations: 131.2 kB / 1.276 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of Backend: time 3.91e-07/0.4075, allocations: 0 / 1.276 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.4087, allocations: 432.8 kB / 1.276 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001011/0.4097, allocations: 0.8052 MB / 1.277 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of Templates: time 0.00846/0.4182, allocations: 4.116 MB / 1.281 GB, free: 9.211 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches