Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 181.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 99.14 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 10.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2276, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.3966, allocations: 149.5 MB / 1.369 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.3968, allocations: 75.95 kB / 1.369 GB, free: 12.44 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.005606/0.4025, allocations: 2.088 MB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.552e-06/0.4025, allocations: 0 / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.4025, allocations: 0 / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000342/0.4029, allocations: 355.3 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4029, allocations: 8.031 kB / 1.371 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.403, allocations: 42.45 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.403, allocations: 3.953 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4031, allocations: 159.1 kB / 1.372 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4031, allocations: 7.984 kB / 1.372 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.4031, allocations: 8 kB / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.484e-05/0.4032, allocations: 37.69 kB / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4032, allocations: 0 / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4033, allocations: 3.984 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.4033, allocations: 0 / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.4033, allocations: 11.94 kB / 1.372 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.4036, allocations: 244.9 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.4037, allocations: 34.56 kB / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4037, allocations: 4 kB / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.385e-05/0.4038, allocations: 59.38 kB / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4038, allocations: 0 / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0001653/0.404, allocations: 73.67 kB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.404, allocations: 59.36 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.4041, allocations: 93 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4041, allocations: 25.7 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.4041, allocations: 87.98 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.4041, allocations: 19.88 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4042, allocations: 0 / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4043, allocations: 314.8 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.4043, allocations: 4 kB / 1.373 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.4043, allocations: 43.48 kB / 1.373 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.4044, allocations: 12 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4044, allocations: 0 / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.67e-05/0.4045, allocations: 69.61 kB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4045, allocations: 8 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4045, allocations: 0 / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4045, allocations: 4.062 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.4046, allocations: 12.19 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4046, allocations: 4 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.4047, allocations: 19.8 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4047, allocations: 7.984 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/0.4047, allocations: 107.9 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.4048, allocations: 4 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.4048, allocations: 7.562 kB / 1.373 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4048, allocations: 0 / 1.373 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4048, allocations: 4 kB / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4048, allocations: 96 / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4051, allocations: 302.5 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4051, allocations: 3.984 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.4051, allocations: 4 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4051, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4051, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4051, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4052, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.4053, allocations: 171.4 kB / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.4054, allocations: 85.05 kB / 1.373 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.4054, allocations: 4 kB / 1.373 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.4054, allocations: 0 / 1.373 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.4055, allocations: 3.984 kB / 1.373 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.4055, allocations: 7.938 kB / 1.373 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.4055, allocations: 79.23 kB / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4055, allocations: 96 / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002676/0.4058, allocations: 40 kB / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006553/0.4064, allocations: 0.7845 MB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.152e-05/0.4065, allocations: 31.94 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4066, allocations: 0 / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.4066, allocations: 15.98 kB / 1.374 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.4067, allocations: 4 kB / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.4074, allocations: 0.8024 MB / 1.375 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.4076, allocations: 0.677 MB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.4076, allocations: 4 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4077, allocations: 11.44 kB / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of SimCode: time 3.2e-07/0.4077, allocations: 0 / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.4206, allocations: 1.835 MB / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.4209, allocations: 239.1 kB / 1.378 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/1.977, allocations: 12 kB / 1.378 GB, free: 3.059 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat does not exist to compare? outputFormat=mat