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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00145/0.00145, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 200.4 kB / 16.79 MB, free: 6.828 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.509/2.509, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.68, allocations: 140.3 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003485/0.6835, allocations: 2.695 MB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.6854, allocations: 1.317 MB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.6855, allocations: 6.875 kB / 0.9535 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.6861, allocations: 175.5 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.6864, allocations: 151 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.6867, allocations: 156.1 kB / 0.954 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.6872, allocations: 366.8 kB / 0.9543 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.6876, allocations: 142.7 kB / 0.9545 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.6878, allocations: 91.19 kB / 0.9545 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.6882, allocations: 127.3 kB / 0.9547 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.6882, allocations: 18.55 kB / 0.9547 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.6886, allocations: 187.5 kB / 0.9549 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.6887, allocations: 66.56 kB / 0.9549 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.6888, allocations: 89.61 kB / 0.955 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.6892, allocations: 218.1 kB / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.6892, allocations: 1.094 kB / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6892, allocations: 0 / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.6892, allocations: 0 / 0.9552 GB, free: 4.992 MB / 0.7169 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.0009835/0.6902, allocations: 0.4955 MB / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.6902, allocations: 9.344 kB / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005737/0.6908, allocations: 66.98 kB / 0.9558 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.6911, allocations: 235 kB / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.6912, allocations: 13.67 kB / 0.956 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.6912, allocations: 17.59 kB / 0.956 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.6918, allocations: 312.4 kB / 0.9563 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.6918, allocations: 5.812 kB / 0.9563 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.6918, allocations: 10.02 kB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.6919, allocations: 25.55 kB / 0.9564 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.6924, allocations: 251.5 kB / 0.9566 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.6937, allocations: 1.503 MB / 0.9581 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.6942, allocations: 260 kB / 0.9583 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.6945, allocations: 123.4 kB / 0.9584 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.6945, allocations: 9.047 kB / 0.9585 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.6945, allocations: 36.8 kB / 0.9585 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.6945, allocations: 0 / 0.9585 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007539/0.6953, allocations: 342.6 kB / 0.9588 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6953, allocations: 82.78 kB / 0.9589 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.6955, allocations: 174 kB / 0.9591 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.6955, allocations: 30.55 kB / 0.9591 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.6956, allocations: 153.4 kB / 0.9592 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.6956, allocations: 49.92 kB / 0.9593 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.6957, allocations: 55.64 kB / 0.9593 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.6958, allocations: 326.1 kB / 0.9596 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.696, allocations: 108.8 kB / 0.9597 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.6962, allocations: 169.5 kB / 0.9599 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.6967, allocations: 279.6 kB / 0.9602 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6967, allocations: 1.094 kB / 0.9602 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005192/0.6972, allocations: 304 kB / 0.9605 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6972, allocations: 10.59 kB / 0.9605 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6972, allocations: 1.156 kB / 0.9605 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.6973, allocations: 3.125 kB / 0.9605 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.6976, allocations: 51.17 kB / 0.9605 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6976, allocations: 11.16 kB / 0.9605 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.6978, allocations: 36.78 kB / 0.9606 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.6978, allocations: 7.281 kB / 0.9606 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002346/0.698, allocations: 199.1 kB / 0.9608 GB, free: 428 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002003/0.6982, allocations: 151.5 kB / 0.9609 GB, free: 300 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003458/0.6986, allocations: 255.2 kB / 0.9612 GB, free: 120 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.6986, allocations: 0 / 0.9612 GB, free: 120 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004836/0.6991, allocations: 275.6 kB / 0.9614 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.6991, allocations: 6.062 kB / 0.9614 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.6991, allocations: 2.312 kB / 0.9614 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-06/0.6991, allocations: 3.625 kB / 0.9614 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.6993, allocations: 52.7 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.6994, allocations: 3.281 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.6995, allocations: 35.55 kB / 0.9615 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.6996, allocations: 7.562 kB / 0.9615 GB, free: 15.93 MB / 0.7325 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.0002069/0.6998, allocations: 199.2 kB / 0.9617 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.6998, allocations: 15.88 kB / 0.9617 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/0.7004, allocations: 267 kB / 0.962 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7004, allocations: 10.47 kB / 0.962 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7004, allocations: 0 / 0.962 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7004, allocations: 5.172 kB / 0.962 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.7016, allocations: 0.6744 MB / 0.9627 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7016, allocations: 1.375 kB / 0.9627 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.702, allocations: 51.36 kB / 0.9627 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.702, allocations: 2.438 kB / 0.9627 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.702, allocations: 10.25 kB / 0.9627 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.702, allocations: 2.656 kB / 0.9627 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.702, allocations: 5.469 kB / 0.9627 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.7026, allocations: 455 kB / 0.9632 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.7027, allocations: 106.6 kB / 0.9633 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.7028, allocations: 15.45 kB / 0.9633 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.703, allocations: 13.36 kB / 0.9633 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.703, allocations: 17.95 kB / 0.9633 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.7031, allocations: 5.281 kB / 0.9633 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001162/0.7032, allocations: 135.6 kB / 0.9634 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7032, allocations: 0 / 0.9634 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004931/0.7037, allocations: 85.12 kB / 0.9635 GB, free: 14.36 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001266/0.7038, allocations: 105.9 kB / 0.9636 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007512/0.7046, allocations: 372.9 kB / 0.964 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7046, allocations: 0 / 0.964 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.7048, allocations: 116.5 kB / 0.9641 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.7053, allocations: 48.91 kB / 0.9641 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.7062, allocations: 0.5211 MB / 0.9647 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.7066, allocations: 0.7471 MB / 0.9654 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.7067, allocations: 18.69 kB / 0.9654 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.7068, allocations: 0 / 0.9654 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.004702/0.7115, allocations: 2.567 MB / 0.9679 GB, free: 11.55 MB / 0.7325 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