Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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 1.974/1.974, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.0009279/0.0009281, allocations: 184.1 kB / 492.3 MB, free: 0.6172 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.248/1.248, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009322/0.000932, allocations: 104.2 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.464e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1968, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7033/0.9002, allocations: 153.2 MB / 1.362 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.9004, allocations: 81.94 kB / 1.362 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.9198, allocations: 8.538 MB / 1.37 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9198, allocations: 3.938 kB / 1.37 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.9198, allocations: 0 / 1.37 GB, free: 34.33 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005348/0.9204, allocations: 0.5324 MB / 1.371 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.9204, allocations: 11.53 kB / 1.371 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.9204, allocations: 40.81 kB / 1.371 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.9205, allocations: 19.31 kB / 1.371 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.9209, allocations: 258.8 kB / 1.371 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.921, allocations: 11.34 kB / 1.371 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.921, allocations: 10.66 kB / 1.371 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.9212, allocations: 95.61 kB / 1.371 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.9212, allocations: 4 kB / 1.371 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.9212, allocations: 7.25 kB / 1.371 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9212, allocations: 3.594 kB / 1.371 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.862e-05/0.9213, allocations: 47.14 kB / 1.371 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.922, allocations: 462.1 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.9223, allocations: 156.5 kB / 1.372 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.9224, allocations: 37.27 kB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.9224, allocations: 7.625 kB / 1.372 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.9226, allocations: 107.1 kB / 1.372 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.9226, allocations: 0 / 1.372 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002135/0.9228, allocations: 124.7 kB / 1.372 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.9228, allocations: 58.84 kB / 1.372 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.923, allocations: 178.3 kB / 1.373 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.923, allocations: 33.05 kB / 1.373 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.9231, allocations: 122.8 kB / 1.373 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.9231, allocations: 44.19 kB / 1.373 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.9231, allocations: 0 / 1.373 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.9232, allocations: 329.2 kB / 1.373 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.9232, allocations: 32.94 kB / 1.373 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.9234, allocations: 123.9 kB / 1.373 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.9234, allocations: 35 kB / 1.373 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9234, allocations: 0 / 1.373 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001825/0.9236, allocations: 153.9 kB / 1.373 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.9236, allocations: 7.766 kB / 1.373 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9237, allocations: 7.844 kB / 1.373 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.9237, allocations: 0 / 1.373 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.9237, allocations: 22.02 kB / 1.373 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9238, allocations: 3.844 kB / 1.373 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.924, allocations: 28.25 kB / 1.373 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.924, allocations: 3.906 kB / 1.373 GB, free: 32.36 MB / 0.8386 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 () * 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.615e-05/0.924, allocations: 133.5 kB / 1.374 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.9241, allocations: 19.44 kB / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.9241, allocations: 24.61 kB / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9241, allocations: 0 / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.9241, allocations: 0 / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9241, allocations: 2.719 kB / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.9247, allocations: 0.4902 MB / 1.374 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9247, allocations: 0 / 1.374 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.9247, allocations: 3.844 kB / 1.374 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9247, allocations: 3.234 kB / 1.374 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.9247, allocations: 6.969 kB / 1.374 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9247, allocations: 0 / 1.374 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9247, allocations: 0 / 1.374 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.9249, allocations: 236.8 kB / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.9249, allocations: 95.84 kB / 1.374 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.925, allocations: 7.625 kB / 1.374 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.9251, allocations: 16.53 kB / 1.374 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.9252, allocations: 23.41 kB / 1.374 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.9252, allocations: 13.89 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.67e-05/0.9253, allocations: 142.8 kB / 1.375 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9253, allocations: 0 / 1.375 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002591/0.9255, allocations: 53.16 kB / 1.375 GB, free: 31.57 MB / 0.8386 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 () * 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.0005532/0.9261, allocations: 0.8349 MB / 1.376 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.9263, allocations: 98.19 kB / 1.376 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9263, allocations: 0 / 1.376 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.9264, allocations: 57.27 kB / 1.376 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.9267, allocations: 48.31 kB / 1.376 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.9271, allocations: 254.8 kB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.9274, allocations: 0.7328 MB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.9275, allocations: 16.69 kB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.9275, allocations: 54.89 kB / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/0.9275, allocations: 0 / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.9427, allocations: 5.018 MB / 1.382 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.943, allocations: 226.1 kB / 1.382 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.484, allocations: 3.938 kB / 1.382 GB, free: 28.76 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat does not exist to compare? outputFormat=mat