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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 162.6 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.901/2.901, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 67.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294/1.297, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005423/1.302, allocations: 3.812 MB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002827/1.305, allocations: 1.754 MB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/1.305, allocations: 12.5 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/1.306, allocations: 452.8 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005726/1.307, allocations: 250.7 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/1.307, allocations: 245.5 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005167/1.308, allocations: 0.5141 MB / 1.161 GB, free: 29.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/1.309, allocations: 274.8 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/1.309, allocations: 204.7 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/1.309, allocations: 242 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/1.309, allocations: 29.56 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/1.309, allocations: 171.9 kB / 1.162 GB, free: 28.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/1.31, allocations: 143.1 kB / 1.162 GB, free: 28.63 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/1.31, allocations: 150.5 kB / 1.162 GB, free: 28.56 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005368/1.31, allocations: 0.5 MB / 1.162 GB, free: 28.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.31, allocations: 3.328 kB / 1.162 GB, free: 28.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.512e-06/1.31, allocations: 0 / 1.162 GB, free: 28.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.407e-06/1.31, allocations: 0 / 1.162 GB, free: 28.38 MB / 1.076 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.001128/1.311, allocations: 0.5934 MB / 1.163 GB, free: 27.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.312, allocations: 12.78 kB / 1.163 GB, free: 27.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/1.312, allocations: 82.31 kB / 1.163 GB, free: 27.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/1.312, allocations: 244.2 kB / 1.163 GB, free: 27.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/1.312, allocations: 28.06 kB / 1.163 GB, free: 27.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/1.313, allocations: 28.31 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/1.313, allocations: 0.5927 MB / 1.164 GB, free: 27.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/1.313, allocations: 0 / 1.164 GB, free: 27.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/1.313, allocations: 14.23 kB / 1.164 GB, free: 27.33 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-05/1.314, allocations: 40.75 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/1.314, allocations: 361.5 kB / 1.164 GB, free: 27.21 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/1.316, allocations: 1.391 MB / 1.166 GB, free: 26.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/1.317, allocations: 217.3 kB / 1.166 GB, free: 26.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/1.317, allocations: 143.3 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/1.317, allocations: 2.219 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/1.317, allocations: 32.72 kB / 1.166 GB, free: 26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/1.317, allocations: 0 / 1.166 GB, free: 26 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.001136/1.318, allocations: 357.8 kB / 1.166 GB, free: 25.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/1.318, allocations: 54.16 kB / 1.166 GB, free: 25.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/1.318, allocations: 237.2 kB / 1.167 GB, free: 25.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.318, allocations: 28.08 kB / 1.167 GB, free: 25.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.319, allocations: 218.8 kB / 1.167 GB, free: 25.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/1.319, allocations: 70.38 kB / 1.167 GB, free: 25.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/1.319, allocations: 57.97 kB / 1.167 GB, free: 25.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/1.319, allocations: 337.2 kB / 1.167 GB, free: 25.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/1.319, allocations: 97.25 kB / 1.167 GB, free: 25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/1.319, allocations: 241 kB / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/1.32, allocations: 313 kB / 1.168 GB, free: 24.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.32, allocations: 2.625 kB / 1.168 GB, free: 24.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007499/1.321, allocations: 367.9 kB / 1.168 GB, free: 24.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.321, allocations: 8.344 kB / 1.168 GB, free: 24.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.321, allocations: 6.625 kB / 1.168 GB, free: 24.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/1.321, allocations: 42.38 kB / 1.168 GB, free: 24.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/1.321, allocations: 67.56 kB / 1.168 GB, free: 24.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/1.322, allocations: 1.326 MB / 1.17 GB, free: 23.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/1.323, allocations: 42.28 kB / 1.17 GB, free: 23.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/1.323, allocations: 14.5 kB / 1.17 GB, free: 23.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003054/1.323, allocations: 218.9 kB / 1.17 GB, free: 23.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002822/1.323, allocations: 240.3 kB / 1.17 GB, free: 22.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004878/1.324, allocations: 307.6 kB / 1.171 GB, free: 22.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/1.324, allocations: 6.422 kB / 1.171 GB, free: 22.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007029/1.325, allocations: 356.5 kB / 1.171 GB, free: 22.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/1.325, allocations: 6.062 kB / 1.171 GB, free: 22.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.325, allocations: 5.125 kB / 1.171 GB, free: 22.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.151e-05/1.325, allocations: 27.98 kB / 1.171 GB, free: 22.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.325, allocations: 70.48 kB / 1.171 GB, free: 22.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007213/1.326, allocations: 1.285 MB / 1.172 GB, free: 21.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/1.326, allocations: 34.86 kB / 1.172 GB, free: 21.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/1.326, allocations: 22.66 kB / 1.172 GB, free: 21.15 MB / 1.076 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.0001181/1.326, allocations: 202.4 kB / 1.172 GB, free: 20.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/1.326, allocations: 23.17 kB / 1.173 GB, free: 20.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/1.326, allocations: 30.77 kB / 1.173 GB, free: 20.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.326, allocations: 2.5 kB / 1.173 GB, free: 20.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.326, allocations: 8.062 kB / 1.173 GB, free: 20.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.326, allocations: 3.938 kB / 1.173 GB, free: 20.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.327, allocations: 0.6001 MB / 1.173 GB, free: 20.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.327, allocations: 5.5 kB / 1.173 GB, free: 20.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/1.327, allocations: 43.92 kB / 1.173 GB, free: 20.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.75e-05/1.327, allocations: 27.81 kB / 1.173 GB, free: 20.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.327, allocations: 5.969 kB / 1.173 GB, free: 20.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008381/1.328, allocations: 1.29 MB / 1.174 GB, free: 19.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.328, allocations: 1.281 kB / 1.174 GB, free: 19.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/1.329, allocations: 366.1 kB / 1.175 GB, free: 19.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/1.329, allocations: 39.94 kB / 1.175 GB, free: 19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/1.329, allocations: 2 kB / 1.175 GB, free: 19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/1.329, allocations: 18.81 kB / 1.175 GB, free: 19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/1.329, allocations: 23.55 kB / 1.175 GB, free: 18.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.329, allocations: 7.672 kB / 1.175 GB, free: 18.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001778/1.33, allocations: 163.1 kB / 1.175 GB, free: 18.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.33, allocations: 0 / 1.175 GB, free: 18.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007246/1.33, allocations: 156.4 kB / 1.175 GB, free: 18.84 MB / 1.076 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.0001331/1.33, allocations: 103.4 kB / 1.175 GB, free: 18.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001257/1.332, allocations: 0.5941 MB / 1.176 GB, free: 18.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.332, allocations: 0 / 1.176 GB, free: 18.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/1.332, allocations: 217.4 kB / 1.176 GB, free: 18.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/1.333, allocations: 74.5 kB / 1.176 GB, free: 18.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/1.333, allocations: 0.5616 MB / 1.177 GB, free: 17.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/1.334, allocations: 198.1 kB / 1.177 GB, free: 17.81 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002011/1.334, allocations: 60.19 kB / 1.177 GB, free: 17.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/1.334, allocations: 26.38 kB / 1.177 GB, free: 17.8 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.334, allocations: 3.938 kB / 1.177 GB, free: 17.79 MB / 1.076 GB Notification: Performance of Templates: time 0.00976/1.344, allocations: 3.725 MB / 1.181 GB, free: 17.38 MB / 1.076 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 -s ida -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/jenkins1/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.081154850078747]