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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008628/0.0008628, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.00512/0.00512, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.088/2.088, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 12.28 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.523, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.001583/0.5246, allocations: 1.529 MB / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.5257, allocations: 0.93 MB / 0.9576 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.5258, allocations: 1.031 kB / 0.9576 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.526, allocations: 28.31 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.5262, allocations: 90.73 kB / 0.9577 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.5265, allocations: 151 kB / 0.9578 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.5268, allocations: 223.2 kB / 0.958 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.5269, allocations: 43.75 kB / 0.9581 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.527, allocations: 97.98 kB / 0.9582 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04993/0.577, allocations: 3.574 MB / 0.9617 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.577, allocations: 8.5 kB / 0.9617 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.5771, allocations: 21.94 kB / 0.9617 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.5772, allocations: 40.39 kB / 0.9617 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.5773, allocations: 103.7 kB / 0.9618 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.5775, allocations: 206.4 kB / 0.962 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5775, allocations: 1.594 kB / 0.962 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5775, allocations: 0 / 0.962 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5775, allocations: 0 / 0.962 GB, free: 3.809 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.0006345/0.5782, allocations: 0.5265 MB / 0.9625 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.5782, allocations: 9.562 kB / 0.9625 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.5782, allocations: 37.47 kB / 0.9626 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.5783, allocations: 28.03 kB / 0.9626 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.5785, allocations: 246.3 kB / 0.9628 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5785, allocations: 6.812 kB / 0.9629 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.5786, allocations: 14.09 kB / 0.9629 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.5788, allocations: 116.8 kB / 0.963 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.5788, allocations: 0 / 0.963 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5788, allocations: 1.281 kB / 0.963 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5788, allocations: 6.234 kB / 0.963 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5789, allocations: 57.88 kB / 0.963 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.5796, allocations: 0.5534 MB / 0.9636 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.5797, allocations: 99.66 kB / 0.9637 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.5798, allocations: 36.64 kB / 0.9637 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5798, allocations: 11.06 kB / 0.9637 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.58, allocations: 124.3 kB / 0.9638 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.58, allocations: 0 / 0.9638 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0002642/0.5802, allocations: 157.3 kB / 0.964 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.5803, allocations: 84.11 kB / 0.9641 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5804, allocations: 207.3 kB / 0.9643 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5805, allocations: 33.3 kB / 0.9643 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.5805, allocations: 125.9 kB / 0.9644 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.5806, allocations: 36.86 kB / 0.9645 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.5806, allocations: 30.86 kB / 0.9645 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.5806, allocations: 331.1 kB / 0.9648 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.5807, allocations: 29.67 kB / 0.9648 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.5809, allocations: 140.5 kB / 0.965 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.581, allocations: 120.2 kB / 0.9651 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.581, allocations: 1.312 kB / 0.9651 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002144/0.5812, allocations: 155.3 kB / 0.9652 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5813, allocations: 6.031 kB / 0.9652 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5813, allocations: 1.594 kB / 0.9652 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5813, allocations: 2.781 kB / 0.9652 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.5814, allocations: 20.2 kB / 0.9653 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.5814, allocations: 6.156 kB / 0.9653 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5816, allocations: 29.14 kB / 0.9653 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5816, allocations: 6.062 kB / 0.9653 GB, free: 0.8711 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.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.242e-05/0.5817, allocations: 148.5 kB / 0.9654 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.5817, allocations: 20.2 kB / 0.9655 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.5818, allocations: 18.59 kB / 0.9655 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5818, allocations: 5.375 kB / 0.9655 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5818, allocations: 1.406 kB / 0.9655 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5818, allocations: 3.984 kB / 0.9655 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.5823, allocations: 468.6 kB / 0.9659 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5823, allocations: 5.125 kB / 0.9659 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.5823, allocations: 7.859 kB / 0.9659 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5823, allocations: 0.7188 kB / 0.9659 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5823, allocations: 6.25 kB / 0.9659 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.5823, allocations: 5 kB / 0.966 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5824, allocations: 3.938 kB / 0.966 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.5825, allocations: 235.6 kB / 0.9662 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.5826, allocations: 94.77 kB / 0.9663 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5826, allocations: 1.281 kB / 0.9663 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.5828, allocations: 32.06 kB / 0.9663 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.5828, allocations: 16.2 kB / 0.9663 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.5829, allocations: 13.8 kB / 0.9663 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001211/0.583, allocations: 142.4 kB / 0.9665 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.583, allocations: 0 / 0.9665 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003001/0.5833, allocations: 47.25 kB / 0.9665 GB, free: 15.82 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006565/0.584, allocations: 0.8366 MB / 0.9673 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.5842, allocations: 101.2 kB / 0.9674 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5842, allocations: 5.062 kB / 0.9674 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.145e-05/0.5843, allocations: 49.98 kB / 0.9675 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.5847, allocations: 53.95 kB / 0.9675 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.5866, allocations: 1.946 MB / 0.9694 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.5869, allocations: 0.7256 MB / 0.9701 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.766e-05/0.587, allocations: 19.14 kB / 0.9702 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.5871, allocations: 58.88 kB / 0.9702 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of SimCode: time 1.553e-06/0.5871, allocations: 4 kB / 0.9702 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5692/1.156, allocations: 5.034 MB / 0.9751 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.157, allocations: 276.1 kB / 0.9754 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.905, allocations: 0 / 0.9754 GB, free: 9.754 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches