Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.277/2.277, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001305/0.001305, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.519/1.519, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0008707/0.0008706, allocations: 87.92 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.521e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3086, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9097/1.218, allocations: 152.5 MB / 1.355 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.219, allocations: 78.48 kB / 1.355 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03108/1.25, allocations: 12.41 MB / 1.367 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.495e-06/1.25, allocations: 3.875 kB / 1.367 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.559e-05/1.25, allocations: 3.938 kB / 1.367 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.0006393/1.251, allocations: 0.5261 MB / 1.368 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.251, allocations: 11.5 kB / 1.368 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/1.251, allocations: 22.2 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/1.251, allocations: 257.3 kB / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.251, allocations: 3.844 kB / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/1.251, allocations: 15.5 kB / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/1.251, allocations: 53.92 kB / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.252, allocations: 91.02 kB / 1.368 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.252, allocations: 0 / 1.368 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.252, allocations: 10.59 kB / 1.368 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.252, allocations: 0 / 1.368 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/1.252, allocations: 0.5192 MB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/1.252, allocations: 90.62 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/1.253, allocations: 32.03 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/1.253, allocations: 3.844 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/1.253, allocations: 118.5 kB / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/1.253, allocations: 0 / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002446/1.253, allocations: 124.5 kB / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.253, allocations: 80.83 kB / 1.369 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/1.253, allocations: 172 kB / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/1.253, allocations: 33.11 kB / 1.369 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/1.253, allocations: 122.9 kB / 1.369 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/1.253, allocations: 32.97 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/1.253, allocations: 0 / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.253, allocations: 330.6 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/1.254, allocations: 24.62 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/1.254, allocations: 130.5 kB / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/1.254, allocations: 29.23 kB / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.254, allocations: 0 / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001825/1.254, allocations: 141.4 kB / 1.37 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.254, allocations: 7.562 kB / 1.37 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.254, allocations: 0 / 1.37 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.254, allocations: 3.844 kB / 1.37 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/1.254, allocations: 18.73 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.254, allocations: 7.781 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/1.254, allocations: 32.91 kB / 1.37 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/1.254, allocations: 14.69 kB / 1.37 GB, free: 31.08 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.957e-05/1.254, allocations: 110.5 kB / 1.37 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001404/1.255, allocations: 120.5 kB / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/1.255, allocations: 15.38 kB / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/1.255, allocations: 20.25 kB / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.255, allocations: 11.55 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.255, allocations: 3.938 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.255, allocations: 4 kB / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/1.255, allocations: 425.5 kB / 1.371 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.255, allocations: 0 / 1.371 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/1.255, allocations: 14.17 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.255, allocations: 3.953 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/1.255, allocations: 0 / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.255, allocations: 7.812 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.255, allocations: 0 / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/1.255, allocations: 222 kB / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/1.255, allocations: 102.5 kB / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/1.255, allocations: 0 / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/1.256, allocations: 20.95 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/1.256, allocations: 24.38 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/1.256, allocations: 11.64 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.263e-05/1.256, allocations: 130.8 kB / 1.371 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 0 / 1.371 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003195/1.256, allocations: 44.22 kB / 1.371 GB, free: 30.25 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.0006869/1.257, allocations: 0.9154 MB / 1.372 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001814/1.257, allocations: 85.59 kB / 1.372 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.257, allocations: 320 / 1.372 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/1.257, allocations: 47.66 kB / 1.372 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/1.257, allocations: 48.2 kB / 1.372 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/1.258, allocations: 256.7 kB / 1.373 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/1.258, allocations: 0.7332 MB / 1.373 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.045e-05/1.258, allocations: 21.52 kB / 1.373 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/1.258, allocations: 52.38 kB / 1.373 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.258, allocations: 3.938 kB / 1.373 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/1.284, allocations: 4.52 MB / 1.378 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/1.285, allocations: 196.4 kB / 1.378 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/3.05, allocations: 4 kB / 1.378 GB, free: 27.41 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat does not exist to compare? outputFormat=mat