Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_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.001814/0.001813, allocations: 112.5 kB / 15.73 MB, free: 76 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.002144/0.002144, allocations: 190.6 kB / 16.67 MB, free: 6.539 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.83 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003072/0.3333, allocations: 1.743 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3349, allocations: 0.893 MB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.335, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.3352, allocations: 27.72 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.3356, allocations: 127.4 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.336, allocations: 147.3 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.3363, allocations: 247.4 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3364, allocations: 25.69 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.3366, allocations: 115.7 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.3502, allocations: 1.699 MB / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.3503, allocations: 19.94 kB / 1.225 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3504, allocations: 39.98 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.3505, allocations: 39.89 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3507, allocations: 83.58 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.3511, allocations: 231.1 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3511, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3511, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3511, allocations: 0 / 1.225 GB, free: 9.355 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.0008619/0.352, allocations: 0.5526 MB / 1.226 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.352, allocations: 8.031 kB / 1.226 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.3521, allocations: 42.73 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.3522, allocations: 24.84 kB / 1.226 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.3525, allocations: 251.3 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3525, allocations: 12 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.3525, allocations: 12 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3527, allocations: 91.53 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3527, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3528, allocations: 11.98 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3528, allocations: 0 / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3529, allocations: 55.86 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.3537, allocations: 460.5 kB / 1.227 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.3541, allocations: 134.7 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.3542, allocations: 36.84 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3543, allocations: 4 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.3545, allocations: 122.5 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3545, allocations: 0 / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003676/0.3549, allocations: 161.6 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.355, allocations: 55.41 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3552, allocations: 200.3 kB / 1.228 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3552, allocations: 33.7 kB / 1.228 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.3553, allocations: 120.5 kB / 1.228 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.3554, allocations: 43.67 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.3555, allocations: 53.69 kB / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3556, allocations: 334.8 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.3557, allocations: 31.98 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.356, allocations: 133 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.3561, allocations: 108.1 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3561, allocations: 4 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002592/0.3564, allocations: 155.7 kB / 1.229 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3564, allocations: 11.94 kB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3564, allocations: 0 / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3565, allocations: 4 kB / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.3565, allocations: 12 kB / 1.229 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3565, allocations: 4.125 kB / 1.229 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3568, allocations: 31.86 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3568, allocations: 8 kB / 1.229 GB, free: 5.797 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.0001387/0.3569, allocations: 139.5 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.357, allocations: 15.91 kB / 1.229 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.357, allocations: 21.86 kB / 1.229 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.357, allocations: 0 / 1.229 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.357, allocations: 0 / 1.229 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3571, allocations: 4 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.3578, allocations: 0.4904 MB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3578, allocations: 0 / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.3578, allocations: 7.938 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3578, allocations: 48 / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3578, allocations: 11.92 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3579, allocations: 3.984 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3579, allocations: 0 / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3581, allocations: 238.7 kB / 1.23 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.3582, allocations: 89.02 kB / 1.23 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3582, allocations: 7.922 kB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3584, allocations: 15.98 kB / 1.23 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.3584, allocations: 19.97 kB / 1.23 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3585, allocations: 8 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001403/0.3586, allocations: 148.2 kB / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3586, allocations: 0 / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003238/0.3589, allocations: 47.89 kB / 1.23 GB, free: 4.441 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.000815/0.3598, allocations: 0.8334 MB / 1.231 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.36, allocations: 113.8 kB / 1.231 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.36, allocations: 8.25 kB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.3601, allocations: 51.97 kB / 1.231 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.3605, allocations: 53.56 kB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.3628, allocations: 1.911 MB / 1.233 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.3631, allocations: 0.7242 MB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.454e-05/0.3632, allocations: 25.52 kB / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.3633, allocations: 55.42 kB / 1.234 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3634, allocations: 3.938 kB / 1.234 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3921, allocations: 5.594 MB / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/9.021, allocations: 10.94 kB / 1.239 GB, free: 11.12 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches