Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001175/0.001175, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.494/1.494, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009449, allocations: 99.89 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.558e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9343/1.21, allocations: 152.5 MB / 1.355 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/1.211, allocations: 80.48 kB / 1.355 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03271/1.243, allocations: 13.37 MB / 1.368 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.243, allocations: 3.938 kB / 1.368 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.7e-05/1.243, allocations: 0 / 1.368 GB, free: 33.17 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.0007639/1.244, allocations: 0.5217 MB / 1.369 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.244, allocations: 12.16 kB / 1.369 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.244, allocations: 23.22 kB / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/1.245, allocations: 253.2 kB / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.245, allocations: 7.203 kB / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/1.245, allocations: 11.53 kB / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/1.245, allocations: 50.8 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/1.245, allocations: 100.4 kB / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.245, allocations: 3.938 kB / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.245, allocations: 3.844 kB / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.245, allocations: 0 / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/1.246, allocations: 0.5148 MB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/1.246, allocations: 87.28 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/1.246, allocations: 38.59 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/1.246, allocations: 7.906 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/1.247, allocations: 116.3 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/1.247, allocations: 0 / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003168/1.247, allocations: 125.8 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.247, allocations: 80.95 kB / 1.37 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/1.247, allocations: 169.7 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/1.247, allocations: 29.55 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/1.247, allocations: 122.5 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/1.247, allocations: 29.78 kB / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/1.247, allocations: 0 / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.248, allocations: 327.2 kB / 1.371 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/1.248, allocations: 32.62 kB / 1.371 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/1.248, allocations: 123.3 kB / 1.371 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.781e-05/1.248, allocations: 37.53 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.248, allocations: 0 / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002109/1.248, allocations: 143.7 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.248, allocations: 3.719 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.248, allocations: 3.969 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.248, allocations: 2.672 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/1.248, allocations: 19.69 kB / 1.371 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.248, allocations: 6.734 kB / 1.371 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.249, allocations: 26.02 kB / 1.371 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.249, allocations: 10.88 kB / 1.371 GB, free: 31.09 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 9.889e-05/1.249, allocations: 120.3 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001535/1.249, allocations: 116 kB / 1.371 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/1.249, allocations: 19.53 kB / 1.371 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/1.249, allocations: 19.45 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.249, allocations: 11.67 kB / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.249, allocations: 0 / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.249, allocations: 0 / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/1.249, allocations: 428.8 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.249, allocations: 2.812 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/1.249, allocations: 7.844 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/1.249, allocations: 3.953 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/1.249, allocations: 3.812 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.249, allocations: 0 / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.249, allocations: 0 / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/1.25, allocations: 236.3 kB / 1.372 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/1.25, allocations: 95.59 kB / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/1.25, allocations: 0 / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.25, allocations: 17.12 kB / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/1.25, allocations: 22.88 kB / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/1.25, allocations: 7.156 kB / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.96e-05/1.25, allocations: 140.4 kB / 1.372 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.25, allocations: 0 / 1.372 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003235/1.25, allocations: 42.88 kB / 1.372 GB, free: 30.26 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.0007676/1.251, allocations: 0.9103 MB / 1.373 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001873/1.251, allocations: 97.06 kB / 1.373 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.251, allocations: 0 / 1.373 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/1.252, allocations: 41.66 kB / 1.373 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/1.252, allocations: 47.59 kB / 1.373 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/1.252, allocations: 252.2 kB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/1.253, allocations: 0.7244 MB / 1.374 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.653e-05/1.253, allocations: 25.23 kB / 1.374 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/1.253, allocations: 52.03 kB / 1.374 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.253, allocations: 0 / 1.374 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/1.278, allocations: 4.533 MB / 1.379 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.278, allocations: 196.5 kB / 1.379 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.976, allocations: 0 / 1.379 GB, free: 27.02 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat does not exist to compare? outputFormat=mat