Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_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.009188/0.009188, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.002227/0.002228, allocations: 194.2 kB / 16.67 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.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.851/2.851, allocations: 469.4 MB / 0.7422 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 68.08 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.319, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00311/0.3221, allocations: 1.76 MB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3238, allocations: 0.8813 MB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.3239, allocations: 7.938 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.3242, allocations: 35.7 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.3247, allocations: 115.5 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.3251, allocations: 154.7 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.3255, allocations: 239.3 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3257, allocations: 45.66 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.3259, allocations: 111.7 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.3379, allocations: 1.99 MB / 1.225 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.338, allocations: 20 kB / 1.225 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3382, allocations: 36 kB / 1.225 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.3382, allocations: 39.89 kB / 1.225 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3384, allocations: 95.44 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.3389, allocations: 215.2 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3389, allocations: 4 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3389, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3389, allocations: 4 kB / 1.225 GB, free: 9.477 MB / 0.9825 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.0009455/0.3399, allocations: 0.5564 MB / 1.226 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3399, allocations: 12.03 kB / 1.226 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.34, allocations: 46.67 kB / 1.226 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/0.3401, allocations: 20.84 kB / 1.226 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3404, allocations: 248 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3404, allocations: 16 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.3405, allocations: 8 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.3407, allocations: 124.7 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3407, allocations: 0 / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3407, allocations: 8 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3407, allocations: 0 / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3409, allocations: 47.97 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.3418, allocations: 0.5435 MB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3419, allocations: 97.08 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.342, allocations: 49.75 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.342, allocations: 3.938 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.3423, allocations: 121.1 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.3423, allocations: 4 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003717/0.3427, allocations: 164.4 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3428, allocations: 85.11 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.343, allocations: 197.3 kB / 1.228 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.343, allocations: 33.7 kB / 1.228 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3431, allocations: 120.5 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3432, allocations: 39.72 kB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.3433, allocations: 65.62 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3434, allocations: 322.8 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.3435, allocations: 36.11 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3438, allocations: 143.3 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.3439, allocations: 109.9 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3439, allocations: 4 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002954/0.3442, allocations: 157.5 kB / 1.229 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3443, allocations: 4.156 kB / 1.229 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3443, allocations: 8 kB / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3443, allocations: 0 / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.3444, allocations: 19.92 kB / 1.229 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3444, allocations: 4 kB / 1.229 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.3447, allocations: 27.88 kB / 1.229 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3447, allocations: 8 kB / 1.229 GB, free: 5.73 MB / 0.9825 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 0.0001499/0.3449, allocations: 143.5 kB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.3449, allocations: 15.91 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.345, allocations: 25.52 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.345, allocations: 4 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.345, allocations: 7.938 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.345, allocations: 0 / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.3457, allocations: 473.5 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3457, allocations: 0 / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.3457, allocations: 4 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3457, allocations: 4 kB / 1.229 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3457, allocations: 7.938 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3457, allocations: 7.938 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3457, allocations: 0 / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.346, allocations: 224.3 kB / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.346, allocations: 92.95 kB / 1.23 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3461, allocations: 7.922 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3462, allocations: 19.98 kB / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.3463, allocations: 15.98 kB / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.3463, allocations: 11.98 kB / 1.23 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001335/0.3465, allocations: 139.3 kB / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3465, allocations: 0 / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003304/0.3468, allocations: 55.83 kB / 1.23 GB, free: 4.395 MB / 0.9825 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.0008181/0.3477, allocations: 0.8472 MB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3479, allocations: 95.84 kB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3479, allocations: 0 / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.3481, allocations: 54.17 kB / 1.231 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3485, allocations: 61.12 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3508, allocations: 1.923 MB / 1.233 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3511, allocations: 0.7242 MB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.3512, allocations: 25.56 kB / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3513, allocations: 58.53 kB / 1.234 GB, free: 480 kB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3514, allocations: 0 / 1.234 GB, free: 480 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.3755, allocations: 5.556 MB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.306, allocations: 3.859 kB / 1.239 GB, free: 11.08 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches