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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.027/2.027, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 176.9 kB / 491.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007976/0.0007975, allocations: 104.2 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.355e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6775/0.8799, allocations: 153.3 MB / 1.362 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.8801, allocations: 83.25 kB / 1.362 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0286/0.9087, allocations: 13.37 MB / 1.375 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9088, allocations: 0 / 1.375 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.9088, allocations: 3.844 kB / 1.375 GB, free: 32.12 MB / 0.8386 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.0004987/0.9093, allocations: 0.5253 MB / 1.376 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.9093, allocations: 7.688 kB / 1.376 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.9094, allocations: 19.44 kB / 1.376 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.9098, allocations: 257.5 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.9098, allocations: 3.609 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.9099, allocations: 15.66 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/0.91, allocations: 48.39 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.9101, allocations: 97.88 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.9101, allocations: 3.938 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9101, allocations: 2.953 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.9102, allocations: 0.5625 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.9108, allocations: 0.5135 MB / 1.377 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.9109, allocations: 87.36 kB / 1.377 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.911, allocations: 34.69 kB / 1.377 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.911, allocations: 3.906 kB / 1.377 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.9111, allocations: 130.9 kB / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.9111, allocations: 0 / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000194/0.9113, allocations: 112.9 kB / 1.377 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.9113, allocations: 84.2 kB / 1.377 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.9115, allocations: 173.8 kB / 1.377 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.9115, allocations: 33.05 kB / 1.377 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.9116, allocations: 123.6 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.9116, allocations: 36.91 kB / 1.378 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.9116, allocations: 0 / 1.378 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.9117, allocations: 325.9 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.9118, allocations: 31.41 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.9119, allocations: 121.2 kB / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.9119, allocations: 33.92 kB / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9119, allocations: 0 / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000164/0.9121, allocations: 139.6 kB / 1.378 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.9121, allocations: 7.906 kB / 1.378 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9121, allocations: 0 / 1.378 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.9122, allocations: 7.906 kB / 1.378 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.9122, allocations: 21.67 kB / 1.378 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.9122, allocations: 7.672 kB / 1.378 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.9124, allocations: 21.03 kB / 1.378 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.9125, allocations: 7.719 kB / 1.378 GB, free: 30.04 MB / 0.8386 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 () * 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 7.851e-05/0.9125, allocations: 117.8 kB / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001258/0.9127, allocations: 126.1 kB / 1.378 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.9127, allocations: 15.47 kB / 1.378 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.9127, allocations: 27.34 kB / 1.378 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9128, allocations: 0 / 1.378 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9128, allocations: 3.875 kB / 1.378 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9128, allocations: 2.297 kB / 1.378 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.9132, allocations: 424.5 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.9132, allocations: 2.719 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.9132, allocations: 15.42 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9132, allocations: 0 / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.9132, allocations: 3.875 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9132, allocations: 0 / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9133, allocations: 4 kB / 1.379 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.9134, allocations: 232.5 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.9134, allocations: 94.06 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.9135, allocations: 2.812 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.9136, allocations: 18.05 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.9137, allocations: 24.88 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.9137, allocations: 3.844 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.814e-05/0.9138, allocations: 139.5 kB / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9138, allocations: 0 / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002747/0.9141, allocations: 52.83 kB / 1.379 GB, free: 29.2 MB / 0.8386 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 () * 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.0005947/0.9147, allocations: 0.8929 MB / 1.38 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.9148, allocations: 83.41 kB / 1.38 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9149, allocations: 0 / 1.38 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.9149, allocations: 54.52 kB / 1.38 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.9152, allocations: 48.16 kB / 1.381 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.9157, allocations: 256.8 kB / 1.381 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.916, allocations: 0.7294 MB / 1.381 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.568e-05/0.916, allocations: 22.81 kB / 1.381 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.9161, allocations: 54.36 kB / 1.382 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.9161, allocations: 0 / 1.382 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.9354, allocations: 4.522 MB / 1.386 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.9356, allocations: 204.4 kB / 1.386 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.51, allocations: 10.97 kB / 1.386 GB, free: 25.11 MB / 0.8386 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) 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