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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 91.69 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.0008566/0.0008566, 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.497/1.497, allocations: 223.2 MB / 240 MB, free: 5.324 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.622/2.622, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9053/0.9057, allocations: 142.3 MB / 0.9538 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00202/0.9078, allocations: 1.504 MB / 0.9553 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.9091, allocations: 0.8851 MB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.9092, allocations: 6.625 kB / 0.9562 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.9094, allocations: 27.95 kB / 0.9562 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.9096, allocations: 92.7 kB / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.91, allocations: 143.9 kB / 0.9564 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.9102, allocations: 204.6 kB / 0.9566 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.9104, allocations: 23.7 kB / 0.9567 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.9105, allocations: 100.7 kB / 0.9567 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00557/0.9161, allocations: 3.412 MB / 0.9601 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.9162, allocations: 11.5 kB / 0.9601 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.9163, allocations: 34.14 kB / 0.9601 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.9164, allocations: 35.86 kB / 0.9602 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.9165, allocations: 50.67 kB / 0.9602 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.9167, allocations: 143.8 kB / 0.9603 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9167, allocations: 0 / 0.9603 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9167, allocations: 1.281 kB / 0.9603 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9167, allocations: 0 / 0.9603 GB, free: 4.395 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007607/0.9175, allocations: 0.5197 MB / 0.9609 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.9175, allocations: 9.5 kB / 0.9609 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.9176, allocations: 41.08 kB / 0.9609 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.9177, allocations: 27.25 kB / 0.9609 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.9179, allocations: 234.4 kB / 0.9611 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.918, allocations: 11.91 kB / 0.9612 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.918, allocations: 21.27 kB / 0.9612 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.9182, allocations: 95.3 kB / 0.9613 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.9182, allocations: 1.031 kB / 0.9613 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.9182, allocations: 1.375 kB / 0.9613 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.9183, allocations: 1.219 kB / 0.9613 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.9184, allocations: 53.95 kB / 0.9613 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.9191, allocations: 475.4 kB / 0.9618 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.9195, allocations: 151 kB / 0.9619 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.9196, allocations: 46.02 kB / 0.962 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.9196, allocations: 5.266 kB / 0.962 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.9199, allocations: 107.7 kB / 0.9621 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.9199, allocations: 0 / 0.9621 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003265/0.9202, allocations: 163.4 kB / 0.9622 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.9202, allocations: 58.73 kB / 0.9623 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.9204, allocations: 197.1 kB / 0.9625 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.9205, allocations: 33.8 kB / 0.9625 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.9206, allocations: 121.5 kB / 0.9626 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.9206, allocations: 36.95 kB / 0.9627 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.9206, allocations: 0.6875 kB / 0.9627 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.9207, allocations: 331.7 kB / 0.963 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.9208, allocations: 38.52 kB / 0.963 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.921, allocations: 127.1 kB / 0.9631 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/0.9211, allocations: 32.78 kB / 0.9632 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9211, allocations: 1.344 kB / 0.9632 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002353/0.9213, allocations: 159.8 kB / 0.9633 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.9213, allocations: 5.125 kB / 0.9633 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9213, allocations: 4.938 kB / 0.9633 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9214, allocations: 2.406 kB / 0.9633 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.9214, allocations: 23.86 kB / 0.9634 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.9215, allocations: 5.719 kB / 0.9634 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.9217, allocations: 33.11 kB / 0.9634 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.9217, allocations: 5.125 kB / 0.9634 GB, free: 1.742 MB / 0.7169 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 () * 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.9218, allocations: 145.1 kB / 0.9635 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.9218, allocations: 19.36 kB / 0.9636 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.9219, allocations: 18.12 kB / 0.9636 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9219, allocations: 1.25 kB / 0.9636 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9219, allocations: 1.375 kB / 0.9636 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.9219, allocations: 3.984 kB / 0.9636 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.9225, allocations: 499.7 kB / 0.9641 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9225, allocations: 0 / 0.9641 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.9226, allocations: 7 kB / 0.9641 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9226, allocations: 0.9688 kB / 0.9641 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.9226, allocations: 10.52 kB / 0.9641 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9226, allocations: 0 / 0.9641 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9226, allocations: 0.9688 kB / 0.9641 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.9228, allocations: 239.3 kB / 0.9643 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.9229, allocations: 102.2 kB / 0.9644 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.9229, allocations: 0.9375 kB / 0.9644 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.923, allocations: 23.27 kB / 0.9644 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.9231, allocations: 20.89 kB / 0.9644 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.9232, allocations: 10.16 kB / 0.9644 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001464/0.9233, allocations: 135.4 kB / 0.9646 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9233, allocations: 0 / 0.9646 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005246/0.9239, allocations: 43.97 kB / 0.9646 GB, free: 0.707 MB / 0.7169 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 () * Number of clocked 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.000713/0.9246, allocations: 0.8491 MB / 0.9654 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.9249, allocations: 102.1 kB / 0.9655 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.9249, allocations: 0.9688 kB / 0.9655 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.925, allocations: 55.78 kB / 0.9656 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.9254, allocations: 48.17 kB / 0.9656 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.9269, allocations: 0.9138 MB / 0.9665 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.9273, allocations: 0.7294 MB / 0.9673 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.967e-05/0.9274, allocations: 18.8 kB / 0.9673 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.9275, allocations: 55.56 kB / 0.9673 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.9275, allocations: 3.938 kB / 0.9673 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.9468, allocations: 5.074 MB / 0.9723 GB, free: 12 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.9471, allocations: 258.1 kB / 0.9725 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.867, allocations: 1.312 kB / 0.9725 GB, free: 11.66 MB / 0.7325 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