Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.001414/0.001414, 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.001578/0.001578, allocations: 194.7 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 61.59 kB / 0.9083 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3213, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003658/0.325, allocations: 1.739 MB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.3267, allocations: 0.8968 MB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3268, allocations: 4 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.327, allocations: 27.72 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.3275, allocations: 119.4 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.328, allocations: 151.7 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.3283, allocations: 235.5 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3284, allocations: 37.61 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3286, allocations: 111.7 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.3389, allocations: 1.694 MB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.3391, allocations: 16 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.3392, allocations: 39.98 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3393, allocations: 39.89 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.3395, allocations: 95.55 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.3401, allocations: 207.3 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.3401, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3401, allocations: 3.938 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.3401, allocations: 4 kB / 1.069 GB, free: 9.551 MB / 0.8262 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.001161/0.3413, allocations: 0.5527 MB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3414, allocations: 8.031 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.3414, allocations: 38.75 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3415, allocations: 24.66 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.3419, allocations: 243.9 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3419, allocations: 12 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.342, allocations: 16 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3422, allocations: 89.64 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3422, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3422, allocations: 8 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3422, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3423, allocations: 55.92 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008774/0.3432, allocations: 472.3 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.3437, allocations: 134.7 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.3438, allocations: 44.78 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3438, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.3441, allocations: 107.2 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.3441, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003797/0.3445, allocations: 171.6 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3445, allocations: 55.41 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3448, allocations: 200.3 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3448, allocations: 33.7 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.345, allocations: 120.5 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.3451, allocations: 35.53 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3452, allocations: 61.67 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3453, allocations: 326.8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.3454, allocations: 31.98 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.3457, allocations: 136.7 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3458, allocations: 100.2 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3459, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002765/0.3461, allocations: 155.5 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3462, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3462, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3462, allocations: 4 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.3463, allocations: 19.92 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3463, allocations: 4 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.3465, allocations: 27.95 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3465, allocations: 11.98 kB / 1.072 GB, free: 6.016 MB / 0.8262 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,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001686/0.3467, allocations: 140 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.3468, allocations: 23.83 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.3468, allocations: 17.88 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3468, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3468, allocations: 4 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3469, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.3476, allocations: 0.4941 MB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3476, allocations: 4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.3476, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3476, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3477, allocations: 3.938 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3477, allocations: 3.984 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3477, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3479, allocations: 237.3 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.348, allocations: 92.91 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3481, allocations: 7.938 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3482, allocations: 15.98 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.3483, allocations: 23.97 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.3483, allocations: 4 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001443/0.3485, allocations: 148.2 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3485, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003062/0.3488, allocations: 43.94 kB / 1.073 GB, free: 4.668 MB / 0.8262 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 (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.000784/0.3496, allocations: 0.8417 MB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.3498, allocations: 103.8 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3499, allocations: 4.25 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.35, allocations: 53.75 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3504, allocations: 59.64 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3526, allocations: 1.896 MB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3529, allocations: 0.7242 MB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.409e-05/0.353, allocations: 29.53 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.3531, allocations: 55.41 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3531, allocations: 0 / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.3769, allocations: 5.539 MB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.923, allocations: 5.062 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches