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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009695/0.0009691, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.604/2.604, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9056/0.9059, allocations: 142.3 MB / 0.9538 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002078/0.9081, allocations: 1.512 MB / 0.9553 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.9094, allocations: 0.8819 MB / 0.9562 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.9095, allocations: 5.125 kB / 0.9562 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.9097, allocations: 36.27 kB / 0.9562 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.91, allocations: 88.44 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.9103, allocations: 148.1 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.9106, allocations: 203.6 kB / 0.9566 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.9107, allocations: 30.08 kB / 0.9567 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.9108, allocations: 98.27 kB / 0.9567 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005351/0.9162, allocations: 3.38 MB / 0.96 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.9163, allocations: 12.66 kB / 0.9601 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.9164, allocations: 21.59 kB / 0.9601 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.9165, allocations: 33.83 kB / 0.9601 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.9166, allocations: 59.22 kB / 0.9602 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.9168, allocations: 144.3 kB / 0.9603 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.9168, allocations: 3.984 kB / 0.9603 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9168, allocations: 1.031 kB / 0.9603 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.9168, allocations: 0 / 0.9603 GB, free: 4.328 MB / 0.7169 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.0007706/0.9176, allocations: 0.5206 MB / 0.9608 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.9176, allocations: 8.781 kB / 0.9608 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.9177, allocations: 41.2 kB / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.9178, allocations: 22.94 kB / 0.9609 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.918, allocations: 239.9 kB / 0.9611 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.9181, allocations: 10.31 kB / 0.9611 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.9181, allocations: 15.88 kB / 0.9611 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.9183, allocations: 119.1 kB / 0.9613 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.9183, allocations: 0 / 0.9613 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.9184, allocations: 5.188 kB / 0.9613 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.9184, allocations: 2.562 kB / 0.9613 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.9185, allocations: 52.84 kB / 0.9613 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.9193, allocations: 0.55 MB / 0.9619 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.9195, allocations: 108.4 kB / 0.962 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.9196, allocations: 38.56 kB / 0.962 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.9196, allocations: 1.156 kB / 0.962 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.9199, allocations: 131.8 kB / 0.9621 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.9199, allocations: 0 / 0.9621 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003494/0.9203, allocations: 165.9 kB / 0.9623 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.9203, allocations: 80.11 kB / 0.9624 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.9205, allocations: 200.9 kB / 0.9625 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.9205, allocations: 29.2 kB / 0.9626 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.9206, allocations: 131.5 kB / 0.9627 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.9206, allocations: 30.39 kB / 0.9627 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/0.9207, allocations: 4.125 kB / 0.9627 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.9207, allocations: 331.7 kB / 0.963 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.9208, allocations: 29.83 kB / 0.9631 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.921, allocations: 136.6 kB / 0.9632 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.922e-05/0.9211, allocations: 44.8 kB / 0.9633 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9211, allocations: 0 / 0.9633 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002508/0.9214, allocations: 151.5 kB / 0.9634 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.9214, allocations: 6 kB / 0.9634 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9214, allocations: 5.281 kB / 0.9634 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.9214, allocations: 7.609 kB / 0.9634 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.9215, allocations: 20.2 kB / 0.9634 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.9216, allocations: 2.312 kB / 0.9634 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.9218, allocations: 36.45 kB / 0.9635 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.9218, allocations: 6.656 kB / 0.9635 GB, free: 1.492 MB / 0.7169 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 () * Number of clocked 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 0.0001193/0.9219, allocations: 149.3 kB / 0.9636 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.9219, allocations: 19.86 kB / 0.9636 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.922, allocations: 20.92 kB / 0.9637 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.922, allocations: 6.953 kB / 0.9637 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.922, allocations: 0 / 0.9637 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.922, allocations: 1.375 kB / 0.9637 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.9226, allocations: 472.2 kB / 0.9641 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9226, allocations: 0 / 0.9641 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.9226, allocations: 10.95 kB / 0.9641 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9226, allocations: 2.5 kB / 0.9641 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.9226, allocations: 5.219 kB / 0.9641 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9226, allocations: 1.219 kB / 0.9641 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9226, allocations: 0 / 0.9641 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.9228, allocations: 231 kB / 0.9644 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.9229, allocations: 94.12 kB / 0.9644 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.9229, allocations: 9.766 kB / 0.9645 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.9231, allocations: 15.33 kB / 0.9645 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.9231, allocations: 20.84 kB / 0.9645 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.9232, allocations: 6.188 kB / 0.9645 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001138/0.9233, allocations: 144.6 kB / 0.9646 GB, free: 480 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9233, allocations: 0 / 0.9646 GB, free: 480 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003231/0.9236, allocations: 46.58 kB / 0.9647 GB, free: 468 kB / 0.7169 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 () * Number of clocked 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.0007862/0.9244, allocations: 0.8427 MB / 0.9655 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.9247, allocations: 108.7 kB / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9247, allocations: 0 / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.9248, allocations: 54.52 kB / 0.9657 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.9252, allocations: 51.42 kB / 0.9657 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.9269, allocations: 0.9149 MB / 0.9666 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.9273, allocations: 0.7293 MB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.9274, allocations: 18.7 kB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.9275, allocations: 54.88 kB / 0.9674 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.9275, allocations: 1 kB / 0.9674 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.949, allocations: 5.023 MB / 0.9723 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.9494, allocations: 261.8 kB / 0.9725 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.813, allocations: 1.688 kB / 0.9725 GB, free: 11.41 MB / 0.7325 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