Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 108 kB / 15.6 MB, free: 132 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.001606/0.001606, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.585/1.585, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.714/2.714, allocations: 437 MB / 0.7103 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 67.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9487/0.9501, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006934/0.9571, allocations: 3.867 MB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003295/0.9604, allocations: 1.765 MB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.9609, allocations: 15.88 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.9624, allocations: 454.1 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009954/0.9635, allocations: 242.8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007649/0.9642, allocations: 251.5 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.965, allocations: 0.4984 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.9657, allocations: 366.8 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.9661, allocations: 179.4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.9665, allocations: 243.1 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.9666, allocations: 36 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.967, allocations: 179.6 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.9672, allocations: 139.6 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.9674, allocations: 179.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.9681, allocations: 482.5 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.9681, allocations: 7.984 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9681, allocations: 4 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.9682, allocations: 0 / 1.026 GB, free: 9.609 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001377/0.9696, allocations: 0.6549 MB / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.9696, allocations: 11.97 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.9703, allocations: 80.41 kB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.9707, allocations: 295.6 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.9707, allocations: 21.03 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.9708, allocations: 28.36 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.9716, allocations: 490 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.9716, allocations: 0 / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.9717, allocations: 12 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/0.9718, allocations: 44.62 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007775/0.9725, allocations: 362.2 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.9748, allocations: 2.044 MB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.9754, allocations: 214.7 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.9758, allocations: 156.8 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.9758, allocations: 0 / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.9759, allocations: 38.56 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/0.9759, allocations: 4 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.00111/0.977, allocations: 416.7 kB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.9771, allocations: 55.41 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.9774, allocations: 270.6 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.9774, allocations: 25.7 kB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.9775, allocations: 215.7 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.9776, allocations: 59.11 kB / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.834e-05/0.9777, allocations: 57.89 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9778, allocations: 342.7 kB / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.9781, allocations: 101.9 kB / 1.032 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.9784, allocations: 211.5 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.9789, allocations: 311.1 kB / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.979, allocations: 0 / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007534/0.9797, allocations: 355.4 kB / 1.033 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9797, allocations: 4.469 kB / 1.033 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.9798, allocations: 8 kB / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.98, allocations: 40.77 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.9802, allocations: 63.89 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.9815, allocations: 1.441 MB / 1.034 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.9818, allocations: 43.66 kB / 1.034 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.9818, allocations: 8 kB / 1.034 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000352/0.9822, allocations: 212.6 kB / 1.034 GB, free: 340 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002864/0.9824, allocations: 218.3 kB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005246/0.983, allocations: 323.1 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.983, allocations: 0 / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006601/0.9837, allocations: 342.6 kB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.9837, allocations: 4 kB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9837, allocations: 4 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.9837, allocations: 8 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.984, allocations: 72.39 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.984, allocations: 8 kB / 1.035 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.9842, allocations: 43.59 kB / 1.035 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.9843, allocations: 16 kB / 1.035 GB, free: 15.2 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.9844, allocations: 200.8 kB / 1.035 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.9845, allocations: 27.7 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.9845, allocations: 30.17 kB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9846, allocations: 11.94 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9846, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9846, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.9857, allocations: 0.755 MB / 1.036 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9858, allocations: 4 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.986, allocations: 39.91 kB / 1.036 GB, free: 14.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.9861, allocations: 24.84 kB / 1.036 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.9861, allocations: 0 / 1.036 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.9871, allocations: 1.426 MB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9871, allocations: 0 / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.9877, allocations: 369.5 kB / 1.038 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.9879, allocations: 120.8 kB / 1.038 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.9879, allocations: 4 kB / 1.038 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.9881, allocations: 15.97 kB / 1.038 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.9882, allocations: 15.98 kB / 1.038 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.9882, allocations: 7.938 kB / 1.038 GB, free: 11.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001776/0.9884, allocations: 197.9 kB / 1.038 GB, free: 11.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9884, allocations: 0 / 1.038 GB, free: 11.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006003/0.989, allocations: 139.5 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.9891, allocations: 103.2 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.9902, allocations: 0.5024 MB / 1.039 GB, free: 10.94 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9903, allocations: 4 kB / 1.039 GB, free: 10.94 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.9906, allocations: 210.7 kB / 1.039 GB, free: 10.72 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.9911, allocations: 82.02 kB / 1.039 GB, free: 10.64 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.992, allocations: 0.5529 MB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.9924, allocations: 0.8074 MB / 1.041 GB, free: 9.219 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000225/0.9927, allocations: 70.3 kB / 1.041 GB, free: 9.152 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.9927, allocations: 23.44 kB / 1.041 GB, free: 9.129 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.9927, allocations: 4 kB / 1.041 GB, free: 9.125 MB / 0.795 GB Notification: Performance of Templates: time 0.007335/1, allocations: 3.51 MB / 1.044 GB, free: 5.652 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches