Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.001232/0.001232, 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.001215/0.001215, 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.493/2.493, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.562/4.562, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006279/0.000628, allocations: 16 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446/1.446, allocations: 146.8 MB / 0.9808 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003273/1.45, allocations: 1.479 MB / 0.9823 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002397/1.452, allocations: 0.8819 MB / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/1.452, allocations: 7.938 kB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/1.453, allocations: 23.84 kB / 0.9832 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005135/1.453, allocations: 99.67 kB / 0.9833 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/1.454, allocations: 154.5 kB / 0.9834 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/1.454, allocations: 131.8 kB / 0.9836 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/1.454, allocations: 37.64 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/1.454, allocations: 95.67 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/1.457, allocations: 1.05 MB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/1.457, allocations: 8 kB / 0.9847 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/1.457, allocations: 19.98 kB / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/1.457, allocations: 31.83 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/1.458, allocations: 53.64 kB / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/1.458, allocations: 141.9 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.458, allocations: 0 / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.605e-06/1.458, allocations: 4 kB / 0.985 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.458, allocations: 0 / 0.985 GB, free: 2.109 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001378/1.459, allocations: 0.5291 MB / 0.9855 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/1.459, allocations: 12.03 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.065e-05/1.459, allocations: 42.55 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.746e-05/1.46, allocations: 15.81 kB / 0.9855 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/1.46, allocations: 230.8 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/1.46, allocations: 15.95 kB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/1.46, allocations: 12 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/1.46, allocations: 94.61 kB / 0.9859 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.46, allocations: 0 / 0.9859 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/1.461, allocations: 15.92 kB / 0.9859 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.461, allocations: 0 / 0.9859 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/1.461, allocations: 55.88 kB / 0.9859 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.462, allocations: 484.4 kB / 0.9864 GB, free: 468 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/1.463, allocations: 150.7 kB / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/1.463, allocations: 3.984 kB / 0.9866 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/1.463, allocations: 111.2 kB / 0.9867 GB, free: 180 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/1.463, allocations: 0 / 0.9867 GB, free: 180 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0005312/1.464, allocations: 158.3 kB / 0.9868 GB, free: 16 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/1.464, allocations: 63.39 kB / 0.9869 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/1.464, allocations: 194.4 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/1.464, allocations: 33.7 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.464, allocations: 124.5 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/1.464, allocations: 35.55 kB / 0.9872 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/1.464, allocations: 0 / 0.9872 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.465, allocations: 334.8 kB / 0.9876 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.465, allocations: 44.3 kB / 0.9876 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/1.465, allocations: 117.2 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/1.465, allocations: 41.55 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.465, allocations: 0 / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003596/1.466, allocations: 154 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.466, allocations: 4 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.466, allocations: 0 / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.466, allocations: 4 kB / 0.9879 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.466, allocations: 23.92 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.466, allocations: 3.984 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/1.466, allocations: 36.02 kB / 0.988 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/1.466, allocations: 4 kB / 0.988 GB, free: 14.75 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: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$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,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001971/1.466, allocations: 144.8 kB / 0.9881 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/1.466, allocations: 19.8 kB / 0.9881 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/1.466, allocations: 17.88 kB / 0.9881 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.467, allocations: 4 kB / 0.9881 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.467, allocations: 224 / 0.9881 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.467, allocations: 4 kB / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/1.468, allocations: 0.4989 MB / 0.9886 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.468, allocations: 7.984 kB / 0.9886 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/1.468, allocations: 8 kB / 0.9887 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.468, allocations: 0 / 0.9887 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/1.468, allocations: 8 kB / 0.9887 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.468, allocations: 3.938 kB / 0.9887 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.468, allocations: 3.984 kB / 0.9887 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/1.468, allocations: 233 kB / 0.9889 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/1.468, allocations: 96.91 kB / 0.989 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/1.468, allocations: 0 / 0.989 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/1.469, allocations: 23.98 kB / 0.989 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.469, allocations: 19.95 kB / 0.989 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/1.469, allocations: 12 kB / 0.989 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001755/1.469, allocations: 136.5 kB / 0.9892 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.469, allocations: 0 / 0.9892 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005118/1.469, allocations: 44 kB / 0.9892 GB, free: 13.39 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001615/1.471, allocations: 0.835 MB / 0.99 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003744/1.471, allocations: 98.23 kB / 0.9901 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.471, allocations: 4 kB / 0.9901 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/1.472, allocations: 59.89 kB / 0.9902 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/1.472, allocations: 51.09 kB / 0.9902 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/1.475, allocations: 1.199 MB / 0.9914 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/1.475, allocations: 0.7282 MB / 0.9921 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001535/1.475, allocations: 25.55 kB / 0.9921 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/1.476, allocations: 57.03 kB / 0.9922 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/1.476, allocations: 0 / 0.9922 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/1.509, allocations: 4.995 MB / 0.9971 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004392/1.509, allocations: 242.5 kB / 0.9973 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.242/4.751, allocations: 2.875 kB / 0.9973 GB, free: 5.121 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat does not exist to compare? outputFormat=mat