Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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 1.991/1.991, allocations: 390.5 MB / 398 MB, free: 11 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.0009314/0.0009314, allocations: 184.1 kB / 491.2 MB, free: 1.605 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.304/1.304, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0008022/0.0008022, allocations: 91.59 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.442e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.195, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6685/0.8636, allocations: 153.3 MB / 1.362 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.8638, allocations: 80.77 kB / 1.362 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02777/0.8916, allocations: 12.42 MB / 1.374 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8916, allocations: 0 / 1.374 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.8917, allocations: 7.688 kB / 1.374 GB, free: 32.35 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.0005672/0.8922, allocations: 0.5261 MB / 1.375 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.8923, allocations: 7.625 kB / 1.375 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.8923, allocations: 20.53 kB / 1.375 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.8928, allocations: 259.4 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.8928, allocations: 0 / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.8928, allocations: 11.69 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001087/0.8929, allocations: 50.72 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.8931, allocations: 102.8 kB / 1.375 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.8931, allocations: 0 / 1.375 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8931, allocations: 0 / 1.375 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8931, allocations: 3.875 kB / 1.375 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.8938, allocations: 0.5081 MB / 1.376 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.8939, allocations: 89.38 kB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.894, allocations: 48.17 kB / 1.376 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.894, allocations: 0 / 1.376 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.8941, allocations: 111.3 kB / 1.376 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.8942, allocations: 4 kB / 1.376 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002085/0.8944, allocations: 125.9 kB / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.8944, allocations: 80.98 kB / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.8945, allocations: 178 kB / 1.376 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.8946, allocations: 29.55 kB / 1.376 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.8947, allocations: 124.8 kB / 1.376 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.8947, allocations: 30.84 kB / 1.377 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.8947, allocations: 0 / 1.377 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.8948, allocations: 331 kB / 1.377 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.8948, allocations: 28.11 kB / 1.377 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.8949, allocations: 125.7 kB / 1.377 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.895, allocations: 37.05 kB / 1.377 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.895, allocations: 0 / 1.377 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001712/0.8952, allocations: 142.6 kB / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.8952, allocations: 11.64 kB / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8952, allocations: 0 / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8952, allocations: 11.97 kB / 1.377 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.8953, allocations: 21.62 kB / 1.377 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8953, allocations: 7.797 kB / 1.377 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.8955, allocations: 23.94 kB / 1.377 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.8955, allocations: 3.844 kB / 1.377 GB, free: 30.26 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.878e-05/0.8956, allocations: 117.7 kB / 1.377 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001303/0.8958, allocations: 122.4 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.8958, allocations: 15.56 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.8958, allocations: 23.78 kB / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8958, allocations: 3.875 kB / 1.378 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8959, allocations: 0 / 1.378 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8959, allocations: 1.781 kB / 1.378 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.8963, allocations: 432.1 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8963, allocations: 0 / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.8963, allocations: 11.7 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8963, allocations: 0 / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.8963, allocations: 0 / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.8963, allocations: 5.578 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8964, allocations: 0 / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.8965, allocations: 230.6 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.8966, allocations: 99.02 kB / 1.378 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.8966, allocations: 0 / 1.378 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.8967, allocations: 22.09 kB / 1.378 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.8968, allocations: 17.33 kB / 1.378 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.8968, allocations: 14.92 kB / 1.378 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.037e-05/0.8969, allocations: 138.3 kB / 1.378 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8969, allocations: 3.875 kB / 1.378 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002776/0.8972, allocations: 35.12 kB / 1.378 GB, free: 29.43 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.0005758/0.8978, allocations: 0.9115 MB / 1.379 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.8979, allocations: 76.31 kB / 1.379 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8979, allocations: 0 / 1.379 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.898, allocations: 53.11 kB / 1.379 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.8983, allocations: 56.03 kB / 1.38 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.8989, allocations: 257.7 kB / 1.38 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.8991, allocations: 0.729 MB / 1.38 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.304e-05/0.8992, allocations: 27.59 kB / 1.381 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.8993, allocations: 53.33 kB / 1.381 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.8993, allocations: 0 / 1.381 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.9191, allocations: 4.525 MB / 1.385 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.9193, allocations: 208.7 kB / 1.385 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.418, allocations: 0 / 1.385 GB, free: 25.66 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat does not exist to compare? outputFormat=mat