Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00133/0.00133, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001369/0.001369, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7428 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.09 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8843/0.8858, allocations: 159.1 MB / 1.221 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.007155/0.893, allocations: 4.215 MB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005219/0.8983, allocations: 2.789 MB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004819/0.8988, allocations: 11.94 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.9001, allocations: 369.6 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.9013, allocations: 422.2 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.9027, allocations: 0.5067 MB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.9038, allocations: 0.7009 MB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000621/0.9044, allocations: 347 kB / 1.23 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.9049, allocations: 271.1 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.9056, allocations: 330.8 kB / 1.231 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.9057, allocations: 36 kB / 1.231 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.9064, allocations: 343.2 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.9066, allocations: 195.5 kB / 1.231 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.9069, allocations: 250.7 kB / 1.231 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009899/0.9079, allocations: 0.7531 MB / 1.232 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9079, allocations: 4 kB / 1.232 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.124e-06/0.908, allocations: 4 kB / 1.232 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.831e-05/0.908, allocations: 0 / 1.232 GB, free: 6.82 MB / 0.9512 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.001601/0.9096, allocations: 0.8029 MB / 1.233 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9096, allocations: 8.625 kB / 1.233 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.9111, allocations: 200 kB / 1.233 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005771/0.9116, allocations: 371.1 kB / 1.233 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.9117, allocations: 29.38 kB / 1.233 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.9118, allocations: 44.36 kB / 1.234 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.9132, allocations: 0.841 MB / 1.234 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.9133, allocations: 11.84 kB / 1.234 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.9133, allocations: 23.97 kB / 1.234 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.203e-05/0.9134, allocations: 64.62 kB / 1.234 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.9148, allocations: 0.6658 MB / 1.235 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/0.9192, allocations: 4.654 MB / 1.24 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.9203, allocations: 0.5092 MB / 1.24 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.9208, allocations: 281.5 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.9209, allocations: 4 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.9209, allocations: 34.56 kB / 1.24 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/0.9209, allocations: 4 kB / 1.24 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001933/0.9229, allocations: 0.8813 MB / 1.241 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.9229, allocations: 89.03 kB / 1.241 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.9233, allocations: 373.5 kB / 1.242 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.9234, allocations: 29.7 kB / 1.242 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.9236, allocations: 291 kB / 1.242 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.9237, allocations: 126.3 kB / 1.242 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.9239, allocations: 110 kB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.924, allocations: 358.7 kB / 1.243 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.9246, allocations: 270.9 kB / 1.243 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.9253, allocations: 482.5 kB / 1.243 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.9266, allocations: 0.777 MB / 1.244 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.9266, allocations: 7.938 kB / 1.244 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001537/0.9281, allocations: 0.778 MB / 1.245 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.9282, allocations: 15.92 kB / 1.245 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9282, allocations: 4 kB / 1.245 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.9282, allocations: 12 kB / 1.245 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.929, allocations: 167.7 kB / 1.245 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.929, allocations: 12.31 kB / 1.245 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.9296, allocations: 83.75 kB / 1.245 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.9297, allocations: 28 kB / 1.245 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006366/0.9303, allocations: 353.1 kB / 1.245 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006282/0.931, allocations: 457.4 kB / 1.246 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/0.932, allocations: 0.6792 MB / 1.247 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.442e-06/0.9321, allocations: 4 kB / 1.247 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001406/0.9335, allocations: 0.6867 MB / 1.247 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.9335, allocations: 11.98 kB / 1.247 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.9335, allocations: 8 kB / 1.247 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9335, allocations: 12 kB / 1.247 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.9341, allocations: 151.7 kB / 1.247 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.9342, allocations: 16.31 kB / 1.247 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.9347, allocations: 63.78 kB / 1.248 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.9347, allocations: 31.98 kB / 1.248 GB, free: 5.91 MB / 0.9669 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.0001778/0.9349, allocations: 216 kB / 1.248 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.935, allocations: 43.52 kB / 1.248 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.9362, allocations: 0.5766 MB / 1.248 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.9362, allocations: 3.984 kB / 1.248 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.9362, allocations: 4 kB / 1.248 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.9365, allocations: 152.5 kB / 1.249 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.9365, allocations: 11.94 kB / 1.249 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/0.9372, allocations: 91.8 kB / 1.249 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.9373, allocations: 23.95 kB / 1.249 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001285/0.9386, allocations: 0.6875 MB / 1.249 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001054/0.9396, allocations: 0.7706 MB / 1.25 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00043/0.9401, allocations: 243.7 kB / 1.25 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003555/0.9404, allocations: 279.1 kB / 1.251 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of Backend: time 4.81e-07/0.9404, allocations: 0 / 1.251 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.9428, allocations: 0.9636 MB / 1.251 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001644/0.9444, allocations: 1.238 MB / 1.253 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of Templates: time 0.01755/0.962, allocations: 10.64 MB / 1.263 GB, free: 5.926 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches