Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001608/0.001607, allocations: 100.2 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.001874/0.001874, 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.588/2.588, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.691/4.691, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004384, allocations: 16 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355/1.356, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003838/1.36, allocations: 1.483 MB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002643/1.362, allocations: 0.8818 MB / 0.9832 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/1.363, allocations: 0 / 0.9832 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/1.363, allocations: 23.84 kB / 0.9832 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005669/1.363, allocations: 103.6 kB / 0.9833 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/1.364, allocations: 150.9 kB / 0.9834 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/1.365, allocations: 147.7 kB / 0.9836 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/1.365, allocations: 29.64 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/1.365, allocations: 95.73 kB / 0.9837 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/1.368, allocations: 1.139 MB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/1.368, allocations: 8 kB / 0.9848 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/1.368, allocations: 23.92 kB / 0.9848 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/1.368, allocations: 27.89 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/1.368, allocations: 53.64 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/1.369, allocations: 141.9 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.369, allocations: 0 / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/1.369, allocations: 0 / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.369, allocations: 4 kB / 0.9851 GB, free: 1.977 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.001371/1.37, allocations: 0.5291 MB / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.37, allocations: 8.031 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.398e-05/1.37, allocations: 42.56 kB / 0.9856 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/1.371, allocations: 19.8 kB / 0.9856 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/1.371, allocations: 226.8 kB / 0.9859 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/1.371, allocations: 19.89 kB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/1.371, allocations: 15.98 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/1.372, allocations: 86.52 kB / 0.986 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.372, allocations: 0 / 0.986 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/1.372, allocations: 11.94 kB / 0.986 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/1.372, allocations: 0 / 0.986 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/1.372, allocations: 51.92 kB / 0.986 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/1.373, allocations: 496.4 kB / 0.9865 GB, free: 332 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/1.374, allocations: 150.7 kB / 0.9866 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.374, allocations: 0 / 0.9866 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/1.375, allocations: 112.3 kB / 0.9868 GB, free: 48 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/1.375, allocations: 0 / 0.9868 GB, free: 48 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0007204/1.376, allocations: 159 kB / 0.9869 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/1.376, allocations: 67.34 kB / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/1.376, allocations: 198.4 kB / 0.9872 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/1.376, allocations: 33.7 kB / 0.9872 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/1.376, allocations: 120.5 kB / 0.9873 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/1.376, allocations: 39.53 kB / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/1.376, allocations: 0 / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.377, allocations: 330.8 kB / 0.9877 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/1.377, allocations: 36.36 kB / 0.9877 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/1.377, allocations: 124.4 kB / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/1.377, allocations: 37.5 kB / 0.9878 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.377, allocations: 0 / 0.9878 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004577/1.378, allocations: 157.3 kB / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.378, allocations: 4.781 kB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.378, allocations: 0 / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.378, allocations: 4 kB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/1.378, allocations: 19.94 kB / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.378, allocations: 0 / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/1.379, allocations: 44 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.379, allocations: 4 kB / 0.9881 GB, free: 14.61 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.0002661/1.379, allocations: 143.4 kB / 0.9882 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/1.379, allocations: 15.81 kB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.078e-05/1.379, allocations: 21.86 kB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.379, allocations: 0 / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.379, allocations: 4 kB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.379, allocations: 0 / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/1.38, allocations: 0.5022 MB / 0.9887 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.381, allocations: 0 / 0.9887 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/1.381, allocations: 4 kB / 0.9887 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/1.381, allocations: 4 kB / 0.9887 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.381, allocations: 8 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/1.381, allocations: 7.875 kB / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.381, allocations: 0 / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/1.381, allocations: 232.6 kB / 0.989 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.381, allocations: 96.91 kB / 0.9891 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/1.381, allocations: 0 / 0.9891 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/1.382, allocations: 23.98 kB / 0.9891 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.382, allocations: 15.97 kB / 0.9891 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/1.382, allocations: 15.98 kB / 0.9891 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002224/1.382, allocations: 132.5 kB / 0.9893 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/1.382, allocations: 0 / 0.9893 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006291/1.383, allocations: 47.98 kB / 0.9893 GB, free: 13.26 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.001364/1.384, allocations: 0.8443 MB / 0.9901 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004351/1.385, allocations: 100.9 kB / 0.9902 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.385, allocations: 0 / 0.9902 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/1.385, allocations: 51.92 kB / 0.9903 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/1.386, allocations: 50.23 kB / 0.9903 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.388, allocations: 1.176 MB / 0.9915 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/1.388, allocations: 0.7282 MB / 0.9922 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001754/1.388, allocations: 25.55 kB / 0.9922 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/1.389, allocations: 55.41 kB / 0.9923 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of SimCode: time 8.61e-07/1.389, allocations: 0 / 0.9923 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/1.423, allocations: 4.999 MB / 0.9971 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004222/1.424, allocations: 252.4 kB / 0.9974 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/4.477, allocations: 4.062 kB / 0.9974 GB, free: 4.992 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat does not exist to compare? outputFormat=mat