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.16/2.16, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001033/0.001033, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.0009171/0.0009172, allocations: 87.91 kB / 0.9317 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.73e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2467, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.829/1.076, allocations: 150.2 MB / 1.366 GB, free: 3.742 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.076, allocations: 73.7 kB / 1.366 GB, free: 3.703 MB / 0.823 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.006351/1.082, allocations: 2.066 MB / 1.368 GB, free: 1.914 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.013e-06/1.082, allocations: 0 / 1.368 GB, free: 1.914 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.082, allocations: 4.812 kB / 1.368 GB, free: 1.91 MB / 0.823 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.0004105/1.083, allocations: 346.5 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.083, allocations: 8.031 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.592e-05/1.083, allocations: 35.94 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/1.083, allocations: 8.734 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/1.083, allocations: 171 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/1.083, allocations: 0 / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.083, allocations: 7.938 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/1.083, allocations: 40.88 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.083, allocations: 0 / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/1.084, allocations: 8 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.084, allocations: 3.984 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/1.084, allocations: 7.875 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/1.084, allocations: 248.2 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/1.084, allocations: 30.2 kB / 1.368 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/1.084, allocations: 24.19 kB / 1.369 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/1.084, allocations: 0 / 1.369 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/1.084, allocations: 58.22 kB / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/1.084, allocations: 0 / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001848/1.084, allocations: 60.62 kB / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/1.084, allocations: 55.36 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/1.085, allocations: 96.81 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/1.085, allocations: 29.69 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/1.085, allocations: 84.14 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/1.085, allocations: 19 kB / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/1.085, allocations: 0 / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.085, allocations: 314.1 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/1.085, allocations: 4 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/1.085, allocations: 43.05 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/1.085, allocations: 7.688 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.085, allocations: 4 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001183/1.085, allocations: 68.97 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.085, allocations: 4 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.085, allocations: 0.875 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.085, allocations: 4 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/1.085, allocations: 12 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.085, allocations: 4 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/1.085, allocations: 11.86 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/1.085, allocations: 0 / 1.369 GB, free: 15.95 MB / 0.8386 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 () * 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.917e-05/1.085, allocations: 116.1 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/1.085, allocations: 0 / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/1.085, allocations: 7.125 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.085, allocations: 4 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.085, allocations: 8 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.085, allocations: 0 / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/1.086, allocations: 305.6 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.086, allocations: 4 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/1.086, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.086, allocations: 4 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/1.086, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.086, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.086, allocations: 3.953 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/1.086, allocations: 165.5 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/1.086, allocations: 85.09 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/1.086, allocations: 4 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/1.086, allocations: 3.938 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/1.086, allocations: 0 / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.086, allocations: 11.94 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.129e-05/1.086, allocations: 75.28 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.086, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002694/1.086, allocations: 39.75 kB / 1.37 GB, free: 15.07 MB / 0.8386 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 () * 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.0008423/1.087, allocations: 0.7704 MB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001062/1.087, allocations: 23.94 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.087, allocations: 8.062 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/1.087, allocations: 19.86 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/1.088, allocations: 1.781 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/1.088, allocations: 126.1 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/1.088, allocations: 0.6809 MB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.328e-05/1.088, allocations: 0 / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/1.088, allocations: 11.44 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.088, allocations: 4 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/1.102, allocations: 1.875 MB / 1.374 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/1.102, allocations: 216 kB / 1.374 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.557, allocations: 0 / 1.374 GB, free: 11.47 MB / 0.8386 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