Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002475/0.002475, allocations: 192.9 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.127/3.127, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 63.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43/1.432, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005252/1.437, allocations: 3.985 MB / 1.311 GB, free: 31.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002738/1.44, allocations: 1.821 MB / 1.312 GB, free: 29.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/1.44, allocations: 13.75 kB / 1.312 GB, free: 29.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/1.441, allocations: 467.3 kB / 1.313 GB, free: 29.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005256/1.442, allocations: 249.4 kB / 1.313 GB, free: 29.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/1.442, allocations: 254.3 kB / 1.313 GB, free: 29.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000636/1.443, allocations: 0.502 MB / 1.314 GB, free: 29.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005415/1.444, allocations: 269.8 kB / 1.314 GB, free: 28.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/1.444, allocations: 216.8 kB / 1.314 GB, free: 28.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/1.444, allocations: 254.5 kB / 1.315 GB, free: 28.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/1.444, allocations: 30.56 kB / 1.315 GB, free: 28.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/1.445, allocations: 163.9 kB / 1.315 GB, free: 28.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/1.445, allocations: 143.1 kB / 1.315 GB, free: 28.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/1.445, allocations: 174.2 kB / 1.315 GB, free: 28.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/1.445, allocations: 0.5031 MB / 1.316 GB, free: 28.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.445, allocations: 0 / 1.316 GB, free: 28.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/1.445, allocations: 0 / 1.316 GB, free: 28.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.445, allocations: 4 kB / 1.316 GB, free: 28.4 MB / 1.061 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.001158/1.447, allocations: 0.5959 MB / 1.316 GB, free: 27.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.447, allocations: 11.62 kB / 1.316 GB, free: 27.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/1.447, allocations: 81.25 kB / 1.316 GB, free: 27.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/1.448, allocations: 247.5 kB / 1.316 GB, free: 27.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/1.448, allocations: 22.56 kB / 1.316 GB, free: 27.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/1.448, allocations: 25.5 kB / 1.316 GB, free: 27.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/1.448, allocations: 0.4942 MB / 1.317 GB, free: 27.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/1.448, allocations: 0 / 1.317 GB, free: 27.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/1.448, allocations: 14.94 kB / 1.317 GB, free: 27.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/1.449, allocations: 39.41 kB / 1.317 GB, free: 27.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/1.449, allocations: 367.3 kB / 1.317 GB, free: 27.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/1.451, allocations: 2.015 MB / 1.319 GB, free: 25.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/1.452, allocations: 212.3 kB / 1.32 GB, free: 25.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/1.452, allocations: 144.8 kB / 1.32 GB, free: 25.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/1.452, allocations: 6.562 kB / 1.32 GB, free: 25.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/1.452, allocations: 33.19 kB / 1.32 GB, free: 25.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/1.452, allocations: 0 / 1.32 GB, free: 25.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001171/1.453, allocations: 364.6 kB / 1.32 GB, free: 25.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/1.453, allocations: 54.59 kB / 1.32 GB, free: 25.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/1.454, allocations: 255.3 kB / 1.32 GB, free: 25.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.454, allocations: 29.7 kB / 1.32 GB, free: 25.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.454, allocations: 221.1 kB / 1.321 GB, free: 24.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/1.454, allocations: 63.58 kB / 1.321 GB, free: 24.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/1.454, allocations: 61.72 kB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/1.454, allocations: 334.8 kB / 1.321 GB, free: 24.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/1.454, allocations: 101.4 kB / 1.321 GB, free: 24.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/1.455, allocations: 203.1 kB / 1.321 GB, free: 24.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/1.455, allocations: 316.6 kB / 1.322 GB, free: 24.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.455, allocations: 2.344 kB / 1.322 GB, free: 24.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007436/1.456, allocations: 370 kB / 1.322 GB, free: 23.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.456, allocations: 8.125 kB / 1.322 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.456, allocations: 2.906 kB / 1.322 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/1.456, allocations: 41.61 kB / 1.322 GB, free: 23.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/1.456, allocations: 72.19 kB / 1.322 GB, free: 23.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/1.458, allocations: 1.354 MB / 1.323 GB, free: 22.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/1.458, allocations: 50.06 kB / 1.323 GB, free: 22.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/1.458, allocations: 10.69 kB / 1.323 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003259/1.458, allocations: 217.5 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002978/1.458, allocations: 214.1 kB / 1.324 GB, free: 22.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004864/1.459, allocations: 306.1 kB / 1.324 GB, free: 22.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.704e-06/1.459, allocations: 0 / 1.324 GB, free: 22.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006963/1.46, allocations: 365.5 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/1.46, allocations: 13.94 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/1.46, allocations: 3.219 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-05/1.46, allocations: 27.98 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/1.46, allocations: 65.75 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008236/1.461, allocations: 1.322 MB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/1.461, allocations: 38.72 kB / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/1.461, allocations: 14.38 kB / 1.326 GB, free: 20.55 MB / 1.061 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.0001307/1.461, allocations: 208.7 kB / 1.326 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/1.461, allocations: 30.78 kB / 1.326 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/1.461, allocations: 33.34 kB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.461, allocations: 2.844 kB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.461, allocations: 0 / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.461, allocations: 0 / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/1.462, allocations: 0.7222 MB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.462, allocations: 2.812 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.463, allocations: 42.72 kB / 1.327 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-05/1.463, allocations: 26.81 kB / 1.327 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/1.463, allocations: 6.469 kB / 1.327 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007575/1.464, allocations: 1.318 MB / 1.328 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.464, allocations: 3 kB / 1.328 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/1.464, allocations: 369.9 kB / 1.329 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/1.464, allocations: 39.88 kB / 1.329 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/1.464, allocations: 12 kB / 1.329 GB, free: 18.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/1.464, allocations: 14.33 kB / 1.329 GB, free: 18.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/1.464, allocations: 18.45 kB / 1.329 GB, free: 18.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/1.464, allocations: 9.219 kB / 1.329 GB, free: 18.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001491/1.465, allocations: 183.3 kB / 1.329 GB, free: 18.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.465, allocations: 0 / 1.329 GB, free: 18.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006157/1.465, allocations: 149.8 kB / 1.329 GB, free: 18.09 MB / 1.061 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.0001429/1.465, allocations: 104.1 kB / 1.329 GB, free: 18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.467, allocations: 0.5815 MB / 1.33 GB, free: 17.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.467, allocations: 0.5938 kB / 1.33 GB, free: 17.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/1.467, allocations: 222.5 kB / 1.33 GB, free: 17.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/1.468, allocations: 83.09 kB / 1.33 GB, free: 17.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.469, allocations: 0.5638 MB / 1.331 GB, free: 17.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/1.469, allocations: 0.8015 MB / 1.331 GB, free: 16.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002326/1.469, allocations: 67.86 kB / 1.331 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/1.469, allocations: 25.56 kB / 1.331 GB, free: 16.42 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.469, allocations: 0 / 1.331 GB, free: 16.42 MB / 1.061 GB Notification: Performance of Templates: time 0.01138/1.481, allocations: 4.01 MB / 1.335 GB, free: 16.14 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.754887228831649]