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.001968/0.001967, allocations: 99.7 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.002141/0.002141, 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.592/2.592, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.349/4.349, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.00064, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.143, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003516/1.147, allocations: 1.487 MB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002337/1.149, allocations: 0.878 MB / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/1.15, allocations: 3.938 kB / 0.9832 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000291/1.15, allocations: 31.77 kB / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007733/1.151, allocations: 99.73 kB / 0.9833 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/1.152, allocations: 146.5 kB / 0.9834 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004624/1.152, allocations: 143.7 kB / 0.9836 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/1.152, allocations: 37.64 kB / 0.9836 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/1.153, allocations: 95.67 kB / 0.9837 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/1.155, allocations: 1.093 MB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/1.155, allocations: 8 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/1.155, allocations: 23.94 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/1.155, allocations: 35.83 kB / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/1.156, allocations: 45.64 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/1.156, allocations: 142 kB / 0.985 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/1.156, allocations: 4 kB / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.855e-06/1.156, allocations: 0 / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.156, allocations: 4 kB / 0.985 GB, free: 2.055 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001252/1.157, allocations: 0.5291 MB / 0.9855 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/1.157, allocations: 12.03 kB / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.618e-05/1.157, allocations: 34.56 kB / 0.9856 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.508e-05/1.157, allocations: 19.81 kB / 0.9856 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/1.158, allocations: 242.7 kB / 0.9858 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/1.158, allocations: 12 kB / 0.9858 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/1.158, allocations: 12 kB / 0.9858 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/1.158, allocations: 117.5 kB / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/1.158, allocations: 4 kB / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/1.159, allocations: 8 kB / 0.986 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.159, allocations: 0 / 0.986 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/1.159, allocations: 55.88 kB / 0.986 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/1.16, allocations: 0.5475 MB / 0.9866 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/1.161, allocations: 101.1 kB / 0.9867 GB, free: 184 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/1.161, allocations: 11.98 kB / 0.9867 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/1.161, allocations: 121.2 kB / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 6.372e-06/1.161, allocations: 0 / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006255/1.162, allocations: 157.4 kB / 0.9869 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/1.162, allocations: 93.17 kB / 0.987 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/1.162, allocations: 198.5 kB / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/1.162, allocations: 33.7 kB / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/1.162, allocations: 116.5 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/1.163, allocations: 43.53 kB / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/1.163, allocations: 4 kB / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.163, allocations: 326.8 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.163, allocations: 32.36 kB / 0.9877 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/1.163, allocations: 134.1 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/1.163, allocations: 47.05 kB / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.164, allocations: 4 kB / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004334/1.164, allocations: 153.3 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.164, allocations: 8 kB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.164, allocations: 0 / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/1.164, allocations: 4 kB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/1.164, allocations: 19.92 kB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/1.164, allocations: 8 kB / 0.9881 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/1.165, allocations: 35.98 kB / 0.9881 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.165, allocations: 4 kB / 0.9881 GB, free: 14.54 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.0002415/1.165, allocations: 147.5 kB / 0.9883 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/1.165, allocations: 19.77 kB / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/1.165, allocations: 21.52 kB / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/1.165, allocations: 0 / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.165, allocations: 4 kB / 0.9883 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.165, allocations: 4 kB / 0.9883 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/1.166, allocations: 474.2 kB / 0.9888 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.167, allocations: 0 / 0.9888 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/1.167, allocations: 4 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.167, allocations: 8 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/1.167, allocations: 4 kB / 0.9888 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.167, allocations: 0 / 0.9888 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.167, allocations: 0 / 0.9888 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/1.167, allocations: 242.6 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.167, allocations: 96.86 kB / 0.9891 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/1.167, allocations: 11.98 kB / 0.9891 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/1.168, allocations: 15.98 kB / 0.9891 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.168, allocations: 19.97 kB / 0.9892 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/1.168, allocations: 4 kB / 0.9892 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002088/1.168, allocations: 144.5 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.168, allocations: 0 / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006127/1.169, allocations: 47.89 kB / 0.9894 GB, free: 13.2 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.001272/1.17, allocations: 0.9159 MB / 0.9902 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004462/1.17, allocations: 103.8 kB / 0.9903 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.17, allocations: 4.312 kB / 0.9903 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/1.171, allocations: 51.92 kB / 0.9904 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/1.171, allocations: 46.05 kB / 0.9904 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/1.173, allocations: 1.5 MB / 0.9919 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/1.174, allocations: 0.7247 MB / 0.9926 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001717/1.174, allocations: 33.45 kB / 0.9926 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/1.174, allocations: 55.41 kB / 0.9927 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of SimCode: time 1.293e-06/1.174, allocations: 0 / 0.9927 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/1.209, allocations: 4.943 MB / 0.9975 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004459/1.21, allocations: 254.3 kB / 0.9978 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/4.221, allocations: 0 / 0.9978 GB, free: 4.586 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