Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.0008473/0.0008473, allocations: 91.77 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.001113/0.001113, 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.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.555/2.555, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 0.8378 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8123, allocations: 146.8 MB / 0.9811 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002253/0.8146, allocations: 1.514 MB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.816, allocations: 0.8741 MB / 0.9835 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.8161, allocations: 7.938 kB / 0.9835 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.8163, allocations: 27.78 kB / 0.9835 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.8166, allocations: 99.53 kB / 0.9836 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.817, allocations: 139.8 kB / 0.9837 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.8172, allocations: 203.4 kB / 0.9839 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.8174, allocations: 45.62 kB / 0.984 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.8175, allocations: 91.62 kB / 0.984 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.8227, allocations: 3.381 MB / 0.9873 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.8228, allocations: 8 kB / 0.9873 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.8229, allocations: 23.98 kB / 0.9874 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.823, allocations: 31.84 kB / 0.9874 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.823, allocations: 49.64 kB / 0.9874 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.8233, allocations: 143.7 kB / 0.9876 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8233, allocations: 4 kB / 0.9876 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8233, allocations: 0 / 0.9876 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.8233, allocations: 3.938 kB / 0.9876 GB, free: 15.67 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008351/0.8241, allocations: 0.5253 MB / 0.9881 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8242, allocations: 8.031 kB / 0.9881 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.8242, allocations: 42.55 kB / 0.9882 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.8243, allocations: 15.81 kB / 0.9882 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.8246, allocations: 246.7 kB / 0.9884 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.8247, allocations: 15.98 kB / 0.9884 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.8247, allocations: 16 kB / 0.9884 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.8249, allocations: 108.4 kB / 0.9885 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.825, allocations: 0 / 0.9885 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.825, allocations: 8 kB / 0.9885 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.825, allocations: 0 / 0.9885 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.8251, allocations: 59.81 kB / 0.9886 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.826, allocations: 0.5514 MB / 0.9891 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.8262, allocations: 105 kB / 0.9892 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.8263, allocations: 37.78 kB / 0.9893 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.8263, allocations: 4 kB / 0.9893 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.8265, allocations: 125.2 kB / 0.9894 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.8266, allocations: 0 / 0.9894 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0003521/0.8269, allocations: 164.1 kB / 0.9896 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.827, allocations: 81.11 kB / 0.9896 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.8272, allocations: 206.4 kB / 0.9898 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.8273, allocations: 33.7 kB / 0.9899 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.8274, allocations: 120.4 kB / 0.99 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.8274, allocations: 43.53 kB / 0.99 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-06/0.8274, allocations: 0 / 0.99 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8276, allocations: 326.8 kB / 0.9903 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.8276, allocations: 36.39 kB / 0.9904 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.8279, allocations: 138 kB / 0.9905 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.828, allocations: 39.98 kB / 0.9905 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.828, allocations: 4 kB / 0.9905 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002458/0.8282, allocations: 157.2 kB / 0.9907 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.8283, allocations: 8 kB / 0.9907 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8283, allocations: 0 / 0.9907 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8283, allocations: 4 kB / 0.9907 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.8284, allocations: 20.14 kB / 0.9907 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.8284, allocations: 11.94 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.8287, allocations: 23.89 kB / 0.9908 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.8287, allocations: 12 kB / 0.9908 GB, free: 12.11 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.0001366/0.8288, allocations: 139.5 kB / 0.9909 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.8289, allocations: 19.77 kB / 0.9909 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.8289, allocations: 21.52 kB / 0.9909 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.8289, allocations: 8 kB / 0.9909 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8289, allocations: 0 / 0.9909 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.8289, allocations: 96 / 0.9909 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.8296, allocations: 473.2 kB / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8296, allocations: 4 kB / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.8296, allocations: 7.938 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.8296, allocations: 4 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8296, allocations: 0 / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8297, allocations: 0 / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.8297, allocations: 4 kB / 0.9914 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.8299, allocations: 229.8 kB / 0.9916 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.83, allocations: 100.9 kB / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.83, allocations: 7.984 kB / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.8302, allocations: 19.98 kB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.8302, allocations: 19.91 kB / 0.9918 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.8303, allocations: 12 kB / 0.9918 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001228/0.8304, allocations: 136.5 kB / 0.9919 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8304, allocations: 0 / 0.9919 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003238/0.8308, allocations: 59.89 kB / 0.992 GB, free: 10.77 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0008063/0.8316, allocations: 0.8241 MB / 0.9928 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.8318, allocations: 103.8 kB / 0.9929 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8318, allocations: 320 / 0.9929 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.8319, allocations: 55.91 kB / 0.9929 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.8324, allocations: 57.92 kB / 0.993 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.8339, allocations: 0.9259 MB / 0.9939 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.8342, allocations: 0.7286 MB / 0.9946 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.204e-05/0.8343, allocations: 17.55 kB / 0.9946 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.8344, allocations: 59.41 kB / 0.9947 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8345, allocations: 0 / 0.9947 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.8535, allocations: 5.016 MB / 0.9996 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.8538, allocations: 267.4 kB / 0.9998 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.785, allocations: 5.656 kB / 0.9998 GB, free: 2.738 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat does not exist to compare? outputFormat=mat