Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00191/0.00191, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.525/1.525, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.09 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.768, allocations: 151.6 MB / 1.017 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006221/0.7743, allocations: 4.249 MB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004887/0.7792, allocations: 2.818 MB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.7796, allocations: 11.94 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.7808, allocations: 350.5 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.782, allocations: 390.5 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.7834, allocations: 471.2 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.7847, allocations: 0.9817 MB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007883/0.7855, allocations: 332.1 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.7861, allocations: 239 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.7868, allocations: 350.7 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.7869, allocations: 24 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009032/0.7878, allocations: 423.1 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.7881, allocations: 183.5 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.7885, allocations: 234.7 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.7897, allocations: 0.7456 MB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.7897, allocations: 3.984 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7897, allocations: 4 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.7897, allocations: 0 / 1.028 GB, free: 7.082 MB / 0.7794 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.001862/0.7916, allocations: 0.8107 MB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7917, allocations: 12.03 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.7932, allocations: 192 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.7938, allocations: 359.1 kB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.7938, allocations: 29.36 kB / 1.029 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.7939, allocations: 44.36 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.7954, allocations: 0.841 MB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.7954, allocations: 3.938 kB / 1.03 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.7955, allocations: 20 kB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-05/0.7956, allocations: 68.59 kB / 1.03 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.797, allocations: 0.6696 MB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.8017, allocations: 4.666 MB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.8029, allocations: 0.5069 MB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.8035, allocations: 285.5 kB / 1.036 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.8036, allocations: 7.984 kB / 1.036 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.8036, allocations: 42.5 kB / 1.036 GB, free: 13.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/0.8036, allocations: 0 / 1.036 GB, free: 13.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.002051/0.8057, allocations: 0.8812 MB / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.8057, allocations: 81.11 kB / 1.037 GB, free: 12.99 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.8063, allocations: 373.5 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.8064, allocations: 29.7 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.8066, allocations: 291 kB / 1.038 GB, free: 12.29 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.8068, allocations: 122.2 kB / 1.038 GB, free: 12.17 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.807, allocations: 114.1 kB / 1.038 GB, free: 12.05 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8072, allocations: 350.7 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.8078, allocations: 274.9 kB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007945/0.8086, allocations: 482.5 kB / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.8101, allocations: 0.7694 MB / 1.04 GB, free: 9.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.8102, allocations: 11.98 kB / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001669/0.8118, allocations: 0.782 MB / 1.041 GB, free: 9.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.8119, allocations: 8 kB / 1.041 GB, free: 9.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.8119, allocations: 11.98 kB / 1.041 GB, free: 9.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.8119, allocations: 12 kB / 1.041 GB, free: 9.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.8127, allocations: 163.7 kB / 1.041 GB, free: 9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.8127, allocations: 15.94 kB / 1.041 GB, free: 8.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.8134, allocations: 75.83 kB / 1.041 GB, free: 8.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.8134, allocations: 27.98 kB / 1.041 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006791/0.8141, allocations: 365 kB / 1.041 GB, free: 8.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005983/0.8147, allocations: 453.4 kB / 1.042 GB, free: 7.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001133/0.8159, allocations: 0.6815 MB / 1.043 GB, free: 7.176 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.177e-06/0.8159, allocations: 7.938 kB / 1.043 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001498/0.8174, allocations: 0.6916 MB / 1.043 GB, free: 6.473 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8174, allocations: 8 kB / 1.043 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8174, allocations: 8 kB / 1.043 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8175, allocations: 15.98 kB / 1.043 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.8181, allocations: 147.8 kB / 1.043 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.8181, allocations: 15.94 kB / 1.043 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.8187, allocations: 67.81 kB / 1.044 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.8187, allocations: 28 kB / 1.044 GB, free: 6.188 MB / 0.795 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.0002088/0.8189, allocations: 216 kB / 1.044 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.8191, allocations: 47.44 kB / 1.044 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.8203, allocations: 0.5729 MB / 1.044 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8203, allocations: 4 kB / 1.044 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8203, allocations: 0 / 1.044 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8204, allocations: 3.984 kB / 1.044 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.8231, allocations: 1.617 MB / 1.046 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.8231, allocations: 4 kB / 1.046 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.8237, allocations: 111.8 kB / 1.046 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.8237, allocations: 8 kB / 1.046 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.8238, allocations: 11.94 kB / 1.046 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.8238, allocations: 8.469 kB / 1.046 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.8238, allocations: 4 kB / 1.046 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.8249, allocations: 0.7835 MB / 1.047 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.8252, allocations: 168.5 kB / 1.047 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.8253, allocations: 11.94 kB / 1.047 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/0.8258, allocations: 51.92 kB / 1.047 GB, free: 2.379 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.8259, allocations: 35.91 kB / 1.047 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.8259, allocations: 12 kB / 1.047 GB, free: 2.332 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003839/0.8263, allocations: 267.1 kB / 1.047 GB, free: 2.078 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8263, allocations: 0 / 1.047 GB, free: 2.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009928/0.8273, allocations: 196 kB / 1.048 GB, free: 1.887 MB / 0.795 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.0001713/0.8275, allocations: 119.1 kB / 1.048 GB, free: 1.758 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.8295, allocations: 0.9286 MB / 1.049 GB, free: 0.832 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8295, allocations: 0 / 1.049 GB, free: 0.832 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.83, allocations: 274.9 kB / 1.049 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.8309, allocations: 112.4 kB / 1.049 GB, free: 468 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.8328, allocations: 1.215 MB / 1.05 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.8334, allocations: 0.875 MB / 1.051 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007283/0.8341, allocations: 216 kB / 1.051 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.8343, allocations: 43.42 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.8343, allocations: 0 / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.01281/0.8472, allocations: 6.125 MB / 1.057 GB, free: 7.922 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches