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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001637/0.001637, allocations: 183.5 kB / 0.4901 GB, free: 2.234 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.515/1.515, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009571/0.0009573, allocations: 96.2 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 7.031 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2897, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.4809, allocations: 150.3 MB / 1.376 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4812, allocations: 71.97 kB / 1.376 GB, free: 3.129 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.00619/0.4874, allocations: 2.083 MB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4874, allocations: 0 / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4874, allocations: 4 kB / 1.378 GB, free: 1.039 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.0004277/0.4879, allocations: 351.4 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4879, allocations: 12.03 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.282e-05/0.488, allocations: 34.55 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.488, allocations: 7.859 kB / 1.379 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4882, allocations: 163 kB / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.4882, allocations: 7.938 kB / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.4882, allocations: 4 kB / 1.379 GB, free: 384 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.4883, allocations: 37.69 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4883, allocations: 3.984 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4884, allocations: 7.984 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4884, allocations: 0 / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.4884, allocations: 8 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.4888, allocations: 244.9 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.4889, allocations: 38.5 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.4889, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.489, allocations: 55.5 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.489, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0002209/0.4892, allocations: 77.61 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4893, allocations: 55.36 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.4894, allocations: 93 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4894, allocations: 25.7 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.4895, allocations: 84.27 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.4895, allocations: 23.73 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.4895, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4896, allocations: 314.8 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.4897, allocations: 8 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.4897, allocations: 31.42 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.738e-05/0.4898, allocations: 19.94 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4898, allocations: 0 / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001321/0.4899, allocations: 73.55 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4899, allocations: 8 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4899, allocations: 0 / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.49, allocations: 4 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.49, allocations: 4 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4901, allocations: 8.141 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.4901, allocations: 15.84 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4901, allocations: 8.062 kB / 1.38 GB, free: 15.01 MB / 0.8855 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 8.257e-05/0.4902, allocations: 118.5 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.4902, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.4903, allocations: 7.562 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4903, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4903, allocations: 256 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4903, allocations: 4 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.4905, allocations: 302.6 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4906, allocations: 4 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.4906, allocations: 4 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4906, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4906, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4906, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4906, allocations: 4 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.4908, allocations: 167.4 kB / 1.38 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.4908, allocations: 81.02 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.4908, allocations: 8 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.811e-05/0.4909, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.4909, allocations: 12.06 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.4909, allocations: 0 / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.491, allocations: 79.23 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.313e-06/0.491, allocations: 4 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003008/0.4913, allocations: 39.94 kB / 1.381 GB, free: 14.09 MB / 0.8855 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.000746/0.4921, allocations: 0.7815 MB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.4922, allocations: 27.94 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4922, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.4922, allocations: 15.98 kB / 1.381 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.4924, allocations: 12.62 kB / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.4932, allocations: 0.7977 MB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.4935, allocations: 0.677 MB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.4935, allocations: 4 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.4935, allocations: 7.438 kB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of SimCode: time 3.667e-06/0.4935, allocations: 0 / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.5074, allocations: 1.843 MB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.5077, allocations: 256.4 kB / 1.385 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.168, allocations: 2.312 kB / 1.385 GB, free: 9.715 MB / 0.8855 GB (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/linux/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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat does not exist to compare? outputFormat=mat