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) 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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 239.9 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.652/2.652, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.901/0.9014, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001339/0.9028, allocations: 0.9256 MB / 0.9818 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000746/0.9036, allocations: 377.5 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.9036, allocations: 4 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.9036, allocations: 0 / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.197e-05/0.9037, allocations: 0 / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.9042, allocations: 71.72 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.9042, allocations: 4 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.9043, allocations: 11.92 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.9043, allocations: 4 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.9044, allocations: 11.92 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.9044, allocations: 0 / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.9046, allocations: 63.94 kB / 0.9823 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.9046, allocations: 7.984 kB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.9046, allocations: 33.69 kB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.9048, allocations: 55.86 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9048, allocations: 0 / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.528e-06/0.9048, allocations: 0 / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.9048, allocations: 3.938 kB / 0.9824 GB, free: 4.734 MB / 0.7325 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.0004799/0.9053, allocations: 343.3 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.9054, allocations: 12.03 kB / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.383e-05/0.9055, allocations: 38.56 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.9055, allocations: 0 / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.9057, allocations: 165.3 kB / 0.9829 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.9057, allocations: 3.984 kB / 0.9829 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.9057, allocations: 3.984 kB / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.9058, allocations: 45.64 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9059, allocations: 0 / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9059, allocations: 0 / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.9059, allocations: 0 / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.9059, allocations: 7.938 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.9063, allocations: 249 kB / 0.9832 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.9065, allocations: 34.56 kB / 0.9832 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.9065, allocations: 3.953 kB / 0.9832 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.9067, allocations: 55.5 kB / 0.9833 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.9067, allocations: 3.938 kB / 0.9833 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002434/0.9069, allocations: 77.58 kB / 0.9834 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.907, allocations: 51.41 kB / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.9071, allocations: 101.8 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.9071, allocations: 25.7 kB / 0.9835 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.9072, allocations: 80.14 kB / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.9072, allocations: 23.69 kB / 0.9836 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.9072, allocations: 4.125 kB / 0.9837 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9074, allocations: 310.8 kB / 0.9839 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.9074, allocations: 15.98 kB / 0.984 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.9075, allocations: 31.44 kB / 0.984 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.9075, allocations: 15.92 kB / 0.984 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9075, allocations: 4 kB / 0.984 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001041/0.9076, allocations: 73.58 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9076, allocations: 4 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.9077, allocations: 3.938 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.9077, allocations: 4 kB / 0.9841 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.9078, allocations: 11.98 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.9078, allocations: 3.938 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.9078, allocations: 0 / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.9078, allocations: 4 kB / 0.9841 GB, free: 2.719 MB / 0.7325 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 9.629e-05/0.9079, allocations: 117.9 kB / 0.9842 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.9079, allocations: 3.953 kB / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.908, allocations: 7.562 kB / 0.9842 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.908, allocations: 0 / 0.9842 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.908, allocations: 7.984 kB / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.908, allocations: 96 / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.9083, allocations: 302.5 kB / 0.9845 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9083, allocations: 4.266 kB / 0.9845 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.9083, allocations: 4 kB / 0.9845 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.9083, allocations: 4 kB / 0.9845 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.9083, allocations: 11.98 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9083, allocations: 0 / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9083, allocations: 0 / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.9085, allocations: 155.5 kB / 0.9847 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.9086, allocations: 81.06 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.9086, allocations: 3.984 kB / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.9086, allocations: 0 / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.9087, allocations: 12 kB / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.9087, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.9087, allocations: 83.22 kB / 0.9849 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.734e-06/0.9087, allocations: 0 / 0.9849 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002818/0.909, allocations: 35.92 kB / 0.9849 GB, free: 1.805 MB / 0.7325 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.0007125/0.9098, allocations: 0.757 MB / 0.9857 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.9099, allocations: 35.92 kB / 0.9857 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9099, allocations: 0 / 0.9857 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.9099, allocations: 16 kB / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.9101, allocations: 3.938 kB / 0.9857 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.9108, allocations: 0.7901 MB / 0.9865 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.9111, allocations: 0.6848 MB / 0.9871 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.9111, allocations: 4 kB / 0.9871 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.9111, allocations: 7.438 kB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of SimCode: time 1.582e-06/0.9111, allocations: 0 / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.9245, allocations: 1.666 MB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.9248, allocations: 247.2 kB / 0.989 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.827, allocations: 0 / 0.989 GB, free: 13.58 MB / 0.7481 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) Environment - environmentSimulation: 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