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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001465/0.001465, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6116, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002797/0.6145, allocations: 1.735 MB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.6158, allocations: 0.9005 MB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.6159, allocations: 1.125 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.6161, allocations: 22.02 kB / 0.9523 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.6164, allocations: 125.2 kB / 0.9524 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.6168, allocations: 159.1 kB / 0.9526 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.6171, allocations: 237.6 kB / 0.9528 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.6172, allocations: 49.17 kB / 0.9528 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.6174, allocations: 112.9 kB / 0.953 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.6281, allocations: 1.959 MB / 0.9549 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.6283, allocations: 22.56 kB / 0.9549 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.6284, allocations: 39.52 kB / 0.9549 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.6285, allocations: 49.14 kB / 0.955 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.6286, allocations: 85.33 kB / 0.9551 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.6289, allocations: 213.9 kB / 0.9553 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6289, allocations: 0 / 0.9553 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6289, allocations: 5.094 kB / 0.9553 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.629, allocations: 0 / 0.9553 GB, free: 5.684 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.0007428/0.6297, allocations: 0.5578 MB / 0.9558 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6297, allocations: 9.719 kB / 0.9558 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.6298, allocations: 46.69 kB / 0.9559 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.6299, allocations: 23.39 kB / 0.9559 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.6301, allocations: 246 kB / 0.9561 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.6301, allocations: 7.344 kB / 0.9561 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.6302, allocations: 14.69 kB / 0.9561 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.6303, allocations: 114 kB / 0.9562 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.6304, allocations: 5.625 kB / 0.9563 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6304, allocations: 3.984 kB / 0.9563 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6304, allocations: 3.156 kB / 0.9563 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.6305, allocations: 60.61 kB / 0.9563 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.6312, allocations: 0.5405 MB / 0.9568 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.6314, allocations: 97.47 kB / 0.9569 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.6314, allocations: 42.2 kB / 0.957 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.6315, allocations: 5.312 kB / 0.957 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.6316, allocations: 119.6 kB / 0.9571 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.6316, allocations: 0 / 0.9571 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003117/0.632, allocations: 162.1 kB / 0.9573 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.632, allocations: 93.34 kB / 0.9573 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.6322, allocations: 199.9 kB / 0.9575 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.6322, allocations: 33.27 kB / 0.9576 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.6323, allocations: 122.3 kB / 0.9577 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.6323, allocations: 40.64 kB / 0.9577 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.6324, allocations: 57.02 kB / 0.9578 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.6324, allocations: 331.1 kB / 0.9581 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.6325, allocations: 33.83 kB / 0.9581 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.6327, allocations: 140.1 kB / 0.9583 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.6328, allocations: 109.2 kB / 0.9584 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6329, allocations: 1.281 kB / 0.9584 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002335/0.6331, allocations: 164.8 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6331, allocations: 6.25 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6331, allocations: 1.531 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6331, allocations: 7 kB / 0.9585 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.6332, allocations: 15.91 kB / 0.9585 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6332, allocations: 11.17 kB / 0.9586 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.6335, allocations: 24.27 kB / 0.9586 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.6335, allocations: 6 kB / 0.9586 GB, free: 2.695 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.374e-05/0.6336, allocations: 135.9 kB / 0.9587 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.6336, allocations: 24.39 kB / 0.9587 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.6337, allocations: 21.84 kB / 0.9588 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.6337, allocations: 2.062 kB / 0.9588 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6337, allocations: 1.094 kB / 0.9588 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6337, allocations: 1.219 kB / 0.9588 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.6342, allocations: 462.3 kB / 0.9592 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.6342, allocations: 1.062 kB / 0.9592 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.6342, allocations: 11.22 kB / 0.9592 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6342, allocations: 9.078 kB / 0.9592 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6342, allocations: 10.22 kB / 0.9592 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6342, allocations: 0 / 0.9592 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6342, allocations: 5.062 kB / 0.9592 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.6344, allocations: 228.4 kB / 0.9595 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.6345, allocations: 97.19 kB / 0.9596 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.6345, allocations: 5.812 kB / 0.9596 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.6346, allocations: 15.45 kB / 0.9596 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.6347, allocations: 24.09 kB / 0.9596 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.6347, allocations: 10.09 kB / 0.9596 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.784e-05/0.6348, allocations: 138 kB / 0.9597 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6348, allocations: 1.062 kB / 0.9597 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003263/0.6352, allocations: 50.47 kB / 0.9598 GB, free: 1.656 MB / 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 (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.000554/0.6357, allocations: 0.8383 MB / 0.9606 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.636, allocations: 106.1 kB / 0.9607 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.636, allocations: 1.25 kB / 0.9607 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.6361, allocations: 46.89 kB / 0.9608 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.6365, allocations: 71.95 kB / 0.9608 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.6382, allocations: 1.906 MB / 0.9627 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.6385, allocations: 0.7252 MB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.352e-05/0.6386, allocations: 18.61 kB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.6387, allocations: 56.09 kB / 0.9635 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.984e-06/0.6387, allocations: 0 / 0.9635 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.6611, allocations: 5.491 MB / 0.9688 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.16, allocations: 11.52 kB / 0.9688 GB, free: 11.64 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