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.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.001351/0.001351, allocations: 104.2 kB / 16.45 MB, free: 6.035 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.001353/0.001353, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.235/3.235, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.42 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3709, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.003453/0.3744, allocations: 1.208 MB / 1.305 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3755, allocations: 391.2 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.3755, allocations: 0 / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.871e-05/0.3756, allocations: 3.938 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.973e-05/0.3756, allocations: 0 / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.3762, allocations: 99.48 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.3763, allocations: 19.91 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.3764, allocations: 8 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.485e-05/0.3764, allocations: 11.98 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.3764, allocations: 3.938 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3764, allocations: 4 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.3767, allocations: 95.83 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.3767, allocations: 23.92 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.3768, allocations: 27.73 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.377, allocations: 107.8 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.377, allocations: 4 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/0.377, allocations: 3.938 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.377, allocations: 0 / 1.306 GB, free: 15.57 MB / 1.014 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.0006065/0.3776, allocations: 415.9 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3777, allocations: 8.625 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.3777, allocations: 46.73 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/0.3778, allocations: 16.84 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.378, allocations: 172.3 kB / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.378, allocations: 384 / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.378, allocations: 384 / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.3782, allocations: 151 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3782, allocations: 3.938 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3783, allocations: 8 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3783, allocations: 0 / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.3784, allocations: 59.98 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.3787, allocations: 284.6 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.3789, allocations: 90.42 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.379, allocations: 68.89 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.379, allocations: 4 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.3792, allocations: 175.3 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 1.382e-06/0.3792, allocations: 0 / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.0007266/0.38, allocations: 488.4 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.38, allocations: 87.31 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3802, allocations: 117.8 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.3802, allocations: 49.69 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.3803, allocations: 84.8 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3804, allocations: 95.36 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3805, allocations: 86 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3807, allocations: 338.8 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3808, allocations: 140.9 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.3811, allocations: 205 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.3816, allocations: 394.9 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3816, allocations: 7.875 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006068/0.3822, allocations: 436.8 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3822, allocations: 7.984 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3822, allocations: 4.094 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3823, allocations: 4.281 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3824, allocations: 15.94 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3824, allocations: 4 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.3824, allocations: 31.67 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3825, allocations: 15.98 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 69 (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) * 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.0001975/0.3827, allocations: 185.7 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.3827, allocations: 11.94 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.3827, allocations: 9.203 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3827, allocations: 0 / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3827, allocations: 0 / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3827, allocations: 0 / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.3835, allocations: 0.6231 MB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3835, allocations: 4 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.3835, allocations: 4 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3835, allocations: 0 / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3835, allocations: 4 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3835, allocations: 0 / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3835, allocations: 4 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3841, allocations: 483.7 kB / 1.311 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.3841, allocations: 96.89 kB / 1.311 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.3842, allocations: 23.98 kB / 1.311 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.3842, allocations: 4 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.3842, allocations: 0 / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.3842, allocations: 7.984 kB / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.3843, allocations: 75.28 kB / 1.311 GB, free: 9.645 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3843, allocations: 0 / 1.311 GB, free: 9.645 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003375/0.3846, allocations: 51.88 kB / 1.311 GB, free: 9.594 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 ($whenCondition1,$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.001317/0.3859, allocations: 1.198 MB / 1.313 GB, free: 8.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.3864, allocations: 272.4 kB / 1.313 GB, free: 8.117 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3864, allocations: 4.188 kB / 1.313 GB, free: 8.113 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.3864, allocations: 76.28 kB / 1.313 GB, free: 8.039 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3867, allocations: 8 kB / 1.313 GB, free: 8.031 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.3894, allocations: 2.448 MB / 1.315 GB, free: 5.484 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3898, allocations: 0.7084 MB / 1.316 GB, free: 4.746 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.3898, allocations: 20.42 kB / 1.316 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.3899, allocations: 38.44 kB / 1.316 GB, free: 4.695 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.3899, allocations: 0 / 1.316 GB, free: 4.695 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.4188, allocations: 3.003 MB / 1.319 GB, free: 1.844 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.367, allocations: 14.92 kB / 1.319 GB, free: 1.832 MB / 1.014 GB " [Timeout remaining time 292] (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_2/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] "" Variables in the reference:time,y Variables in the result:globalSeed,localSeed,mu,time,y [Calling sys.exit(0), Time elapsed: 15.031402490101755]