Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.001528/0.001528, allocations: 99.55 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.00201/0.002011, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.535/2.535, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.257/4.257, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006005/0.0006009, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611/1.611, allocations: 146.8 MB / 0.9809 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002437/1.614, allocations: 1.389 MB / 0.9822 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00138/1.615, allocations: 0.5697 MB / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/1.615, allocations: 7.938 kB / 0.9828 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002532/1.616, allocations: 15.86 kB / 0.9828 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004393/1.616, allocations: 103.7 kB / 0.9829 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/1.617, allocations: 131.8 kB / 0.983 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/1.617, allocations: 127.7 kB / 0.9831 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/1.617, allocations: 21.55 kB / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/1.617, allocations: 87.69 kB / 0.9832 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/1.619, allocations: 1.011 MB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/1.619, allocations: 8 kB / 0.9842 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/1.619, allocations: 19.98 kB / 0.9843 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/1.619, allocations: 31.84 kB / 0.9843 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/1.619, allocations: 49.62 kB / 0.9843 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/1.619, allocations: 126.1 kB / 0.9845 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.619, allocations: 4 kB / 0.9845 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/1.619, allocations: 0 / 0.9845 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.521e-06/1.619, allocations: 0 / 0.9845 GB, free: 2.715 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009327/1.62, allocations: 0.498 MB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/1.62, allocations: 8.031 kB / 0.985 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.351e-05/1.62, allocations: 42.56 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/1.621, allocations: 15.81 kB / 0.985 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/1.621, allocations: 230.8 kB / 0.9852 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/1.621, allocations: 4 kB / 0.9852 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/1.621, allocations: 19.95 kB / 0.9853 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/1.622, allocations: 85.59 kB / 0.9853 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/1.622, allocations: 3.938 kB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.622, allocations: 11.98 kB / 0.9854 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.622, allocations: 0 / 0.9854 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/1.622, allocations: 43.97 kB / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/1.623, allocations: 452.5 kB / 0.9858 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/1.623, allocations: 70.5 kB / 0.9859 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/1.623, allocations: 3.984 kB / 0.9859 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/1.623, allocations: 87.28 kB / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/1.623, allocations: 3.938 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0003386/1.624, allocations: 126 kB / 0.9861 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.624, allocations: 55.41 kB / 0.9862 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/1.624, allocations: 187.1 kB / 0.9863 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/1.624, allocations: 33.69 kB / 0.9864 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/1.624, allocations: 116 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/1.624, allocations: 27.78 kB / 0.9865 GB, free: 404 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/1.624, allocations: 0 / 0.9865 GB, free: 404 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.625, allocations: 330.8 kB / 0.9868 GB, free: 64 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/1.625, allocations: 27.98 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/1.625, allocations: 120.5 kB / 0.987 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/1.625, allocations: 27.94 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.625, allocations: 0 / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002415/1.625, allocations: 148.3 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.625, allocations: 4 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.625, allocations: 0 / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.625, allocations: 4 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/1.625, allocations: 11.98 kB / 0.9871 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.625, allocations: 7.938 kB / 0.9872 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/1.626, allocations: 23.84 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/1.626, allocations: 8.125 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001617/1.626, allocations: 137.7 kB / 0.9873 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/1.626, allocations: 15.81 kB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/1.626, allocations: 21.39 kB / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.626, allocations: 0 / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/1.626, allocations: 0 / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.626, allocations: 4 kB / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/1.627, allocations: 442.2 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.627, allocations: 3.938 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/1.627, allocations: 7.984 kB / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.627, allocations: 4 kB / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/1.627, allocations: 0 / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.627, allocations: 0 / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.627, allocations: 3.953 kB / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/1.627, allocations: 207.3 kB / 0.988 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/1.627, allocations: 96.84 kB / 0.9881 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/1.627, allocations: 0 / 0.9881 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.627, allocations: 15.98 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/1.627, allocations: 11.98 kB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/1.627, allocations: 7.953 kB / 0.9881 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001561/1.627, allocations: 137.1 kB / 0.9883 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.547e-06/1.627, allocations: 4 kB / 0.9883 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003373/1.628, allocations: 43.94 kB / 0.9883 GB, free: 14.42 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00105/1.629, allocations: 0.7929 MB / 0.9891 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002299/1.629, allocations: 83.83 kB / 0.9892 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.629, allocations: 256 / 0.9892 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/1.629, allocations: 39.94 kB / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.63, allocations: 41.67 kB / 0.9892 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/1.631, allocations: 1.143 MB / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/1.631, allocations: 0.7204 MB / 0.9911 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.403e-05/1.631, allocations: 21.55 kB / 0.9911 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/1.631, allocations: 51.34 kB / 0.9911 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/1.631, allocations: 0 / 0.9911 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/1.651, allocations: 4.5 MB / 0.9955 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.651, allocations: 247.1 kB / 0.9958 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/4.837, allocations: 0 / 0.9958 GB, free: 6.832 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat does not exist to compare? outputFormat=mat