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.0008246/0.0008246, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008181/0.0008183, allocations: 172.7 kB / 15.95 MB, free: 208 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.642/2.642, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003484, allocations: 16 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8331, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002349/0.8355, allocations: 1.401 MB / 0.9825 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.8366, allocations: 0.5814 MB / 0.9831 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.8367, allocations: 3.938 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.837, allocations: 31.78 kB / 0.9831 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.8373, allocations: 87.66 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.8376, allocations: 142.9 kB / 0.9833 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.8379, allocations: 175.5 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.838, allocations: 25.53 kB / 0.9835 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.8382, allocations: 91.67 kB / 0.9836 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004815/0.843, allocations: 3.01 MB / 0.9865 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.843, allocations: 8 kB / 0.9865 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.8431, allocations: 27.98 kB / 0.9866 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.8432, allocations: 27.91 kB / 0.9866 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.8433, allocations: 49.58 kB / 0.9866 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.8435, allocations: 131.6 kB / 0.9868 GB, free: 444 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.8435, allocations: 3.984 kB / 0.9868 GB, free: 440 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8435, allocations: 0 / 0.9868 GB, free: 440 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.8436, allocations: 0 / 0.9868 GB, free: 440 kB / 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.000769/0.8443, allocations: 0.4903 MB / 0.9872 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.8444, allocations: 8.031 kB / 0.9873 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.8445, allocations: 38.56 kB / 0.9873 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.8445, allocations: 15.81 kB / 0.9873 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.8448, allocations: 242.7 kB / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.8448, allocations: 4 kB / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.8449, allocations: 15.95 kB / 0.9876 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.845, allocations: 91.14 kB / 0.9876 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.8451, allocations: 0 / 0.9876 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8451, allocations: 4 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.8451, allocations: 4 kB / 0.9877 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.472e-05/0.8452, allocations: 39.97 kB / 0.9877 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007815/0.846, allocations: 448.4 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.8461, allocations: 66.56 kB / 0.9882 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.8462, allocations: 28.84 kB / 0.9882 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.8462, allocations: 8 kB / 0.9882 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.8464, allocations: 91.41 kB / 0.9883 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.8464, allocations: 0 / 0.9883 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0002909/0.8467, allocations: 129.5 kB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.8468, allocations: 63.38 kB / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.847, allocations: 191.1 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.847, allocations: 25.7 kB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.8471, allocations: 128.1 kB / 0.9888 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.8472, allocations: 23.7 kB / 0.9888 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.8472, allocations: 4 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8473, allocations: 322.8 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.8474, allocations: 27.92 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.8476, allocations: 119.7 kB / 0.9893 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.586e-05/0.8477, allocations: 28 kB / 0.9893 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8477, allocations: 0 / 0.9893 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002141/0.8479, allocations: 133.4 kB / 0.9894 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8479, allocations: 12.91 kB / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.848, allocations: 0 / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.848, allocations: 4 kB / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.8481, allocations: 15.92 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8481, allocations: 4 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.8482, allocations: 27.83 kB / 0.9895 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.8483, allocations: 7.953 kB / 0.9895 GB, free: 13.34 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.0001359/0.8484, allocations: 129.8 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.8484, allocations: 27.75 kB / 0.9897 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.8485, allocations: 13.39 kB / 0.9897 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8485, allocations: 4 kB / 0.9897 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8485, allocations: 0 / 0.9897 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8485, allocations: 0 / 0.9897 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.849, allocations: 446.1 kB / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8491, allocations: 0 / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.8491, allocations: 8 kB / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8491, allocations: 0 / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8491, allocations: 4 kB / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8491, allocations: 0 / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8491, allocations: 3.953 kB / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.8493, allocations: 211.8 kB / 0.9903 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.8494, allocations: 88.92 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.8494, allocations: 4 kB / 0.9904 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.8495, allocations: 19.92 kB / 0.9904 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.8496, allocations: 15.92 kB / 0.9904 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.8496, allocations: 8 kB / 0.9905 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001242/0.8497, allocations: 137.2 kB / 0.9906 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8498, allocations: 0 / 0.9906 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000301/0.8501, allocations: 39.98 kB / 0.9906 GB, free: 12.11 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.0007918/0.8509, allocations: 0.8047 MB / 0.9914 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.8511, allocations: 86.72 kB / 0.9915 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8511, allocations: 0 / 0.9915 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.8512, allocations: 35.98 kB / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.8516, allocations: 47.05 kB / 0.9916 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.8529, allocations: 0.8258 MB / 0.9924 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.8533, allocations: 0.7202 MB / 0.9931 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.43e-05/0.8534, allocations: 17.55 kB / 0.9931 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.8535, allocations: 43.42 kB / 0.9931 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/0.8535, allocations: 0 / 0.9931 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.87, allocations: 4.561 MB / 0.9976 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.8702, allocations: 250.1 kB / 0.9978 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.834, allocations: 0 / 0.9978 GB, free: 4.75 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