Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.001594/0.001594, allocations: 110.6 kB / 18.94 MB, free: 2.953 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.001957/0.001957, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.408/3.408, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [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.002086/0.002086, allocations: 69.05 kB / 1.177 GB, free: 17.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3922, allocations: 180.2 MB / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002538/0.3948, allocations: 1.233 MB / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.3957, allocations: 431 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.3957, allocations: 0 / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.813e-05/0.3958, allocations: 0 / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.975e-05/0.3958, allocations: 7.938 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.3964, allocations: 103.7 kB / 1.355 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.3965, allocations: 15.92 kB / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.3965, allocations: 8 kB / 1.355 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.3965, allocations: 11.92 kB / 1.355 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.3966, allocations: 7.984 kB / 1.355 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3966, allocations: 0 / 1.355 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.3969, allocations: 127.8 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.3969, allocations: 27.86 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.397, allocations: 31.67 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3972, allocations: 107.8 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3973, allocations: 0 / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3973, allocations: 0 / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.453e-06/0.3973, allocations: 0 / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005644/0.3978, allocations: 344.6 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3979, allocations: 8.031 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.398, allocations: 46.67 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.3981, allocations: 16.83 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3982, allocations: 122.4 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3982, allocations: 4.375 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3982, allocations: 384 / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3985, allocations: 146.2 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3985, allocations: 7.938 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3985, allocations: 0 / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3985, allocations: 0 / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.3986, allocations: 67.91 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.399, allocations: 247.9 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3991, allocations: 86.48 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.3992, allocations: 68.89 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.3992, allocations: 4 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.3995, allocations: 179.3 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 1.473e-06/0.3995, allocations: 0 / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.0007394/0.4003, allocations: 476 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.4004, allocations: 87.36 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4005, allocations: 117.8 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.4005, allocations: 53.67 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.4006, allocations: 84.8 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/0.4007, allocations: 103.3 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4008, allocations: 86 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4009, allocations: 330.8 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.4011, allocations: 144.9 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.4013, allocations: 208.9 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.4018, allocations: 404.6 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4018, allocations: 3.938 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005969/0.4024, allocations: 430.5 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4025, allocations: 5.406 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4025, allocations: 8.094 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4025, allocations: 0 / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.4026, allocations: 23.92 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.4026, allocations: 4 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.4027, allocations: 27.73 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4027, allocations: 8 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 70 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0001962/0.4029, allocations: 185.7 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.4029, allocations: 11.91 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.403, allocations: 9.312 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.403, allocations: 0 / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.403, allocations: 0 / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.403, allocations: 11.92 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.4037, allocations: 0.5984 MB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4037, allocations: 4 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.4037, allocations: 4 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4037, allocations: 0 / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4037, allocations: 4 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4037, allocations: 0 / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4037, allocations: 0 / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.4043, allocations: 479.8 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.4043, allocations: 15.84 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.4044, allocations: 27.98 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.4044, allocations: 0 / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.4044, allocations: 8 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4044, allocations: 0 / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.4045, allocations: 83.22 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4045, allocations: 0 / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003353/0.4048, allocations: 51.86 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,$outputAlias_y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001342/0.4062, allocations: 1.21 MB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.4066, allocations: 261.1 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4066, allocations: 4.062 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.4067, allocations: 75.97 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.4069, allocations: 6.125 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4096, allocations: 2.468 MB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4099, allocations: 0.7123 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.41, allocations: 16.62 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.41, allocations: 35.44 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of SimCode: time 4.5e-07/0.41, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.443, allocations: 3.32 MB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.61, allocations: 6.812 kB / 1.368 GB, free: 8.766 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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: 18.756137846969068]