Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01144/0.01144, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001568/0.001568, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.377/2.377, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9812/0.9825, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.00706/0.9897, allocations: 4.208 MB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006469/0.9962, allocations: 2.797 MB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008462/0.9971, allocations: 11.69 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.9987, allocations: 371.4 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/1.001, allocations: 409.9 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/1.003, allocations: 0.5123 MB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002187/1.005, allocations: 0.69 MB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/1.007, allocations: 351.3 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.008, allocations: 262.1 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/1.009, allocations: 337.3 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/1.009, allocations: 37.47 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/1.01, allocations: 342.6 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004304/1.011, allocations: 197.7 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004967/1.011, allocations: 256.5 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/1.013, allocations: 0.7427 MB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/1.013, allocations: 1.406 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.386e-06/1.013, allocations: 0 / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.423e-05/1.013, allocations: 0.7812 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002626/1.016, allocations: 0.8166 MB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.968e-05/1.016, allocations: 8.688 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.018, allocations: 189.4 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009933/1.019, allocations: 372.2 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/1.019, allocations: 33.95 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/1.019, allocations: 44.06 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/1.022, allocations: 0.8494 MB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/1.022, allocations: 6.781 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/1.022, allocations: 23.3 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/1.022, allocations: 64.12 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/1.024, allocations: 0.6614 MB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005379/1.029, allocations: 4.652 MB / 1.107 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/1.03, allocations: 0.5013 MB / 1.107 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/1.031, allocations: 281.4 kB / 1.107 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.031, allocations: 18.62 kB / 1.107 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.031, allocations: 35.02 kB / 1.107 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/1.031, allocations: 0 / 1.107 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.002374/1.034, allocations: 0.8829 MB / 1.108 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/1.034, allocations: 81.97 kB / 1.108 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/1.034, allocations: 381.4 kB / 1.109 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/1.034, allocations: 31.11 kB / 1.109 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/1.035, allocations: 286 kB / 1.109 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/1.035, allocations: 125.9 kB / 1.109 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/1.035, allocations: 119.1 kB / 1.109 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003142/1.035, allocations: 351.7 kB / 1.11 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/1.036, allocations: 268.1 kB / 1.11 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008679/1.037, allocations: 486.9 kB / 1.11 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/1.038, allocations: 0.7623 MB / 1.111 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.039, allocations: 3 kB / 1.111 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001926/1.04, allocations: 0.7889 MB / 1.112 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.04, allocations: 7.875 kB / 1.112 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.04, allocations: 8 kB / 1.112 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/1.041, allocations: 10.5 kB / 1.112 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/1.041, allocations: 171.2 kB / 1.112 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/1.041, allocations: 16.55 kB / 1.112 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/1.042, allocations: 74.97 kB / 1.112 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/1.042, allocations: 29.41 kB / 1.112 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007456/1.043, allocations: 360.4 kB / 1.113 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008474/1.044, allocations: 452.3 kB / 1.113 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001318/1.045, allocations: 0.6833 MB / 1.114 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/1.045, allocations: 2.312 kB / 1.114 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001679/1.047, allocations: 0.6839 MB / 1.114 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.047, allocations: 12.44 kB / 1.114 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.047, allocations: 8.312 kB / 1.114 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.047, allocations: 12.16 kB / 1.114 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/1.048, allocations: 151.2 kB / 1.114 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/1.048, allocations: 17.53 kB / 1.114 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/1.048, allocations: 65.88 kB / 1.115 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/1.048, allocations: 28.97 kB / 1.115 GB, free: 4.598 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0002893/1.049, allocations: 218.8 kB / 1.115 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.049, allocations: 43.84 kB / 1.115 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.05, allocations: 0.5754 MB / 1.115 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/1.05, allocations: 3.75 kB / 1.115 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.05, allocations: 0 / 1.115 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.05, allocations: 7.219 kB / 1.115 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/1.053, allocations: 1.613 MB / 1.117 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.053, allocations: 4.375 kB / 1.117 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/1.054, allocations: 120.6 kB / 1.117 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.054, allocations: 5.969 kB / 1.117 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/1.054, allocations: 10.5 kB / 1.117 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/1.054, allocations: 9.984 kB / 1.117 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.054, allocations: 3.906 kB / 1.117 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/1.055, allocations: 0.7818 MB / 1.118 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/1.055, allocations: 166.1 kB / 1.118 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/1.055, allocations: 15.94 kB / 1.118 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/1.056, allocations: 56.75 kB / 1.118 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.056, allocations: 34.31 kB / 1.118 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/1.056, allocations: 14.75 kB / 1.118 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004305/1.057, allocations: 273.1 kB / 1.118 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.057, allocations: 0 / 1.118 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001088/1.058, allocations: 194.9 kB / 1.119 GB, free: 2.457 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0001611/1.058, allocations: 109.7 kB / 1.119 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.06, allocations: 0.9344 MB / 1.12 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.06, allocations: 1.062 kB / 1.12 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005471/1.061, allocations: 271 kB / 1.12 GB, free: 2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/1.061, allocations: 126.1 kB / 1.12 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/1.063, allocations: 1.004 MB / 1.121 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/1.064, allocations: 0.8706 MB / 1.122 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007068/1.065, allocations: 215.3 kB / 1.122 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/1.065, allocations: 37.3 kB / 1.122 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of SimCode: time 9.81e-07/1.065, allocations: 0 / 1.122 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of Templates: time 0.01546/1.08, allocations: 6.609 MB / 1.129 GB, free: 216 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches