Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_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.004497/0.004497, allocations: 96.64 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.00117/0.00117, allocations: 192 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.804/2.804, allocations: 469.4 MB / 0.7421 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3163, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00413/0.3204, allocations: 1.752 MB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3225, allocations: 0.889 MB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.3228, allocations: 4 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.323, allocations: 27.72 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.3235, allocations: 123.4 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.324, allocations: 148.8 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.3244, allocations: 243.4 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3245, allocations: 33.61 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.3248, allocations: 119.7 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/0.3374, allocations: 2.022 MB / 1.225 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.3375, allocations: 23.94 kB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3376, allocations: 39.98 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.3377, allocations: 43.83 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3378, allocations: 87.56 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.3382, allocations: 215.1 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3383, allocations: 4 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3383, allocations: 0 / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.3383, allocations: 0 / 1.225 GB, free: 9.371 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000916/0.3392, allocations: 0.5603 MB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3393, allocations: 8.031 kB / 1.226 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.3393, allocations: 42.73 kB / 1.226 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.3394, allocations: 20.84 kB / 1.226 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3397, allocations: 244 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3397, allocations: 15.94 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.3398, allocations: 16 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.34, allocations: 97.59 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.34, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.34, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.34, allocations: 3.984 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3401, allocations: 55.94 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.341, allocations: 464.4 kB / 1.227 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.3414, allocations: 130.7 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.3415, allocations: 36.84 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.3415, allocations: 0 / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.3418, allocations: 127.3 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3418, allocations: 0 / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003509/0.3422, allocations: 160.9 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.3423, allocations: 59.34 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3425, allocations: 201.2 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3425, allocations: 33.7 kB / 1.228 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.3426, allocations: 128.5 kB / 1.228 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.3427, allocations: 39.69 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.3428, allocations: 53.69 kB / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3429, allocations: 330.8 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.343, allocations: 35.98 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3432, allocations: 129.7 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3433, allocations: 96.14 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3434, allocations: 3.938 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002561/0.3436, allocations: 159.8 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3436, allocations: 4 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3437, allocations: 4 kB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3437, allocations: 0 / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.3438, allocations: 23.88 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3438, allocations: 4 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.344, allocations: 27.86 kB / 1.229 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.344, allocations: 8 kB / 1.229 GB, free: 5.812 MB / 0.9825 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.0001267/0.3442, allocations: 143.6 kB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3442, allocations: 15.91 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.3443, allocations: 21.86 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3443, allocations: 4 kB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3443, allocations: 0 / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3443, allocations: 0 / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.345, allocations: 494.1 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.345, allocations: 8 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.345, allocations: 0 / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.345, allocations: 4 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.345, allocations: 7.938 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.345, allocations: 4 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.345, allocations: 0 / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3453, allocations: 231.3 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.3453, allocations: 89.02 kB / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.3454, allocations: 15.92 kB / 1.23 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3455, allocations: 11.98 kB / 1.23 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.3456, allocations: 19.98 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.3456, allocations: 11.98 kB / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00012/0.3458, allocations: 139.3 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3458, allocations: 0 / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000325/0.3461, allocations: 51.89 kB / 1.23 GB, free: 4.465 MB / 0.9825 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.0006864/0.3468, allocations: 0.8495 MB / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.347, allocations: 111.6 kB / 1.231 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.347, allocations: 0 / 1.231 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.3471, allocations: 51.92 kB / 1.231 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.3476, allocations: 56.83 kB / 1.231 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3496, allocations: 1.892 MB / 1.233 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3499, allocations: 0.7242 MB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.35, allocations: 25.53 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3501, allocations: 51.42 kB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3501, allocations: 0 / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.374, allocations: 5.605 MB / 1.239 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.263, allocations: 5.688 kB / 1.239 GB, free: 11.15 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches