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.001074/0.001073, allocations: 92.08 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.001314/0.001314, 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.537/1.537, allocations: 223.2 MB / 240 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 2.644/2.644, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004155, allocations: 11.98 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8838, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002254/0.8861, allocations: 1.502 MB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.8875, allocations: 0.8819 MB / 0.9835 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.8876, allocations: 3.938 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.8878, allocations: 23.8 kB / 0.9835 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.8881, allocations: 103.5 kB / 0.9836 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.8885, allocations: 138.8 kB / 0.9837 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.8887, allocations: 207.4 kB / 0.9839 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.8889, allocations: 29.66 kB / 0.9839 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.889, allocations: 107.6 kB / 0.984 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005275/0.8943, allocations: 3.412 MB / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.8944, allocations: 12 kB / 0.9874 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.8945, allocations: 23.97 kB / 0.9874 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.8946, allocations: 35.84 kB / 0.9874 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.8946, allocations: 49.64 kB / 0.9875 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.8949, allocations: 139.7 kB / 0.9876 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.8949, allocations: 0 / 0.9876 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8949, allocations: 0 / 0.9876 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.8949, allocations: 4 kB / 0.9876 GB, free: 15.58 MB / 0.7481 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.000802/0.8957, allocations: 0.5291 MB / 0.9881 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8958, allocations: 8.031 kB / 0.9882 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.8958, allocations: 42.55 kB / 0.9882 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.8959, allocations: 19.81 kB / 0.9882 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.8962, allocations: 230.8 kB / 0.9884 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.8962, allocations: 15.94 kB / 0.9884 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.8963, allocations: 15.94 kB / 0.9885 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.8964, allocations: 89.66 kB / 0.9885 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8965, allocations: 4 kB / 0.9886 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.8965, allocations: 4 kB / 0.9886 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8965, allocations: 0 / 0.9886 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.8966, allocations: 51.92 kB / 0.9886 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.8974, allocations: 480.5 kB / 0.9891 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.8978, allocations: 154.7 kB / 0.9892 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.8979, allocations: 36.84 kB / 0.9892 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.8979, allocations: 11.98 kB / 0.9893 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.8981, allocations: 99.36 kB / 0.9894 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.8981, allocations: 0 / 0.9894 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.000329/0.8984, allocations: 165.4 kB / 0.9895 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.8985, allocations: 59.34 kB / 0.9896 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.8987, allocations: 194.5 kB / 0.9898 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.8987, allocations: 33.69 kB / 0.9898 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.8989, allocations: 136.3 kB / 0.9899 GB, free: 13 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.8989, allocations: 31.55 kB / 0.9899 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.8989, allocations: 4 kB / 0.9899 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8991, allocations: 334.8 kB / 0.9903 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.8991, allocations: 32.36 kB / 0.9903 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.8994, allocations: 129.2 kB / 0.9904 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.8995, allocations: 37.81 kB / 0.9905 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8995, allocations: 0 / 0.9905 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002343/0.8997, allocations: 149.3 kB / 0.9906 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8997, allocations: 4 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8997, allocations: 8.125 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8998, allocations: 4 kB / 0.9906 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.8998, allocations: 19.92 kB / 0.9906 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.8999, allocations: 4 kB / 0.9906 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.9001, allocations: 31.83 kB / 0.9907 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.9001, allocations: 4 kB / 0.9907 GB, free: 12.18 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.0001731/0.9003, allocations: 147.5 kB / 0.9908 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.9003, allocations: 15.81 kB / 0.9908 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.9003, allocations: 17.88 kB / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9003, allocations: 4 kB / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9004, allocations: 0 / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9004, allocations: 3.984 kB / 0.9909 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.901, allocations: 0.4989 MB / 0.9913 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.901, allocations: 0 / 0.9913 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.9011, allocations: 4 kB / 0.9913 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.9011, allocations: 4 kB / 0.9913 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.9011, allocations: 3.984 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9011, allocations: 0 / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9011, allocations: 3.938 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.9013, allocations: 240.8 kB / 0.9916 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.9014, allocations: 92.86 kB / 0.9917 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.9014, allocations: 4 kB / 0.9917 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.9015, allocations: 19.97 kB / 0.9917 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.9016, allocations: 23.97 kB / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.9017, allocations: 11.94 kB / 0.9917 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001205/0.9018, allocations: 140.5 kB / 0.9919 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9018, allocations: 0 / 0.9919 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002973/0.9021, allocations: 40 kB / 0.9919 GB, free: 10.83 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.0007323/0.9028, allocations: 0.8455 MB / 0.9927 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.9031, allocations: 107.9 kB / 0.9928 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9031, allocations: 0 / 0.9928 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.9032, allocations: 51.92 kB / 0.9929 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.9036, allocations: 53.36 kB / 0.9929 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.9049, allocations: 0.9199 MB / 0.9938 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.9052, allocations: 0.7245 MB / 0.9945 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.268e-05/0.9053, allocations: 21.55 kB / 0.9946 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.9054, allocations: 61.09 kB / 0.9946 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.9054, allocations: 0 / 0.9946 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.9237, allocations: 5.052 MB / 0.9995 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.924, allocations: 272.4 kB / 0.9998 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.824, allocations: 2.453 kB / 0.9998 GB, free: 2.758 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