Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 104.2 kB / 18.19 MB, free: 4.145 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 192.4 kB / 21.34 MB, free: 1.004 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.138/3.138, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=505,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 64.34 kB / 1.127 GB, free: 37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3552, allocations: 172.1 MB / 1.295 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006217/0.3614, allocations: 3.923 MB / 1.299 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003478/0.3649, allocations: 1.784 MB / 1.3 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.3652, allocations: 7.938 kB / 1.3 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.3667, allocations: 466.1 kB / 1.301 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.3674, allocations: 238.8 kB / 1.301 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.3682, allocations: 255.5 kB / 1.301 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.3688, allocations: 0.4945 MB / 1.302 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000566/0.3694, allocations: 284.9 kB / 1.302 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.3696, allocations: 199.3 kB / 1.302 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.3701, allocations: 243.2 kB / 1.303 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.3701, allocations: 28 kB / 1.303 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.3705, allocations: 191.5 kB / 1.303 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3707, allocations: 143.5 kB / 1.303 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3709, allocations: 175.1 kB / 1.303 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.3715, allocations: 498.1 kB / 1.303 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3715, allocations: 4 kB / 1.303 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3715, allocations: 0 / 1.303 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.3715, allocations: 0 / 1.303 GB, free: 2.867 MB / 0.9981 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.001273/0.3728, allocations: 0.6777 MB / 1.304 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3728, allocations: 15.97 kB / 1.304 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.3734, allocations: 80.64 kB / 1.304 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3739, allocations: 309 kB / 1.305 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3739, allocations: 21.03 kB / 1.305 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.374, allocations: 28.36 kB / 1.305 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.3748, allocations: 486 kB / 1.305 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3748, allocations: 4 kB / 1.305 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.3749, allocations: 12 kB / 1.305 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/0.3749, allocations: 40.62 kB / 1.305 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.3757, allocations: 366.2 kB / 1.305 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.3782, allocations: 2.041 MB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.3788, allocations: 202.7 kB / 1.308 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.3792, allocations: 140.8 kB / 1.308 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3792, allocations: 4 kB / 1.308 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3792, allocations: 34.56 kB / 1.308 GB, free: 14.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.3792, allocations: 0 / 1.308 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001154/0.3804, allocations: 421.2 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3804, allocations: 55.41 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.3808, allocations: 262.7 kB / 1.309 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.3808, allocations: 33.7 kB / 1.309 GB, free: 13.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.381, allocations: 212.2 kB / 1.309 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.381, allocations: 67.42 kB / 1.309 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3811, allocations: 61.94 kB / 1.309 GB, free: 12.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3813, allocations: 342.7 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.3816, allocations: 93.91 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.3819, allocations: 208.1 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.3825, allocations: 318.9 kB / 1.31 GB, free: 11.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3825, allocations: 4 kB / 1.31 GB, free: 11.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007897/0.3833, allocations: 352.1 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3833, allocations: 8 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3833, allocations: 7.938 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.3836, allocations: 33.17 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.3839, allocations: 71.89 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.3856, allocations: 1.433 MB / 1.312 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.3859, allocations: 43.75 kB / 1.312 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.3859, allocations: 16.09 kB / 1.312 GB, free: 9.789 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003811/0.3863, allocations: 216.6 kB / 1.312 GB, free: 9.574 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003513/0.3866, allocations: 216.9 kB / 1.312 GB, free: 9.305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005844/0.3872, allocations: 318.8 kB / 1.312 GB, free: 8.941 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/0.3872, allocations: 0 / 1.312 GB, free: 8.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006899/0.3879, allocations: 345.4 kB / 1.313 GB, free: 8.598 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3879, allocations: 8 kB / 1.313 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3879, allocations: 4 kB / 1.313 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.3879, allocations: 4 kB / 1.313 GB, free: 8.582 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.3882, allocations: 75.89 kB / 1.313 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3882, allocations: 4 kB / 1.313 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.3885, allocations: 39.8 kB / 1.313 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3885, allocations: 12 kB / 1.313 GB, free: 8.453 MB / 1.014 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.0001614/0.3886, allocations: 205.4 kB / 1.313 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.3887, allocations: 27.81 kB / 1.313 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.3888, allocations: 34.17 kB / 1.313 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3888, allocations: 0 / 1.313 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3888, allocations: 4 kB / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3888, allocations: 0 / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.3901, allocations: 0.7565 MB / 1.314 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3901, allocations: 0 / 1.314 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.3903, allocations: 39.91 kB / 1.314 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.3904, allocations: 28.91 kB / 1.314 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3904, allocations: 8 kB / 1.314 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.3917, allocations: 1.426 MB / 1.315 GB, free: 5.703 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3917, allocations: 0 / 1.315 GB, free: 5.703 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.3924, allocations: 375.5 kB / 1.316 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3925, allocations: 112.9 kB / 1.316 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3925, allocations: 8 kB / 1.316 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3927, allocations: 19.97 kB / 1.316 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.3928, allocations: 11.98 kB / 1.316 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.3928, allocations: 11.94 kB / 1.316 GB, free: 5.133 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002027/0.393, allocations: 186 kB / 1.316 GB, free: 4.953 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.393, allocations: 0 / 1.316 GB, free: 4.953 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006082/0.3936, allocations: 147.6 kB / 1.316 GB, free: 4.809 MB / 1.014 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.0001554/0.3938, allocations: 107.1 kB / 1.316 GB, free: 4.691 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.3949, allocations: 479.9 kB / 1.317 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3949, allocations: 0 / 1.317 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.3953, allocations: 214.5 kB / 1.317 GB, free: 3.988 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.3958, allocations: 80.33 kB / 1.317 GB, free: 3.914 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3969, allocations: 0.5962 MB / 1.318 GB, free: 3.281 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.3974, allocations: 0.7996 MB / 1.318 GB, free: 2.449 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.3975, allocations: 27.42 kB / 1.318 GB, free: 2.422 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3975, allocations: 0 / 1.318 GB, free: 2.422 MB / 1.014 GB Notification: Performance of Templates: time 0.007771/0.4052, allocations: 4.806 MB / 1.323 GB, free: 13.63 MB / 1.029 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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