Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 211.4 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.408/3.408, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 67.34 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4044, allocations: 176.1 MB / 1.325 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003585/0.408, allocations: 1.745 MB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.4099, allocations: 0.9047 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.4101, allocations: 3.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.4103, allocations: 23.73 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.4108, allocations: 123.4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.4112, allocations: 162.9 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.4116, allocations: 247.3 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.4118, allocations: 33.92 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.412, allocations: 107.7 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01638/0.4284, allocations: 2.03 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.4285, allocations: 20 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.4287, allocations: 39.94 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.4287, allocations: 35.91 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.4289, allocations: 79.61 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.4294, allocations: 219.1 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4294, allocations: 3.938 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4294, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.4294, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 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.001063/0.4305, allocations: 484.7 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.4306, allocations: 16.02 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.4306, allocations: 42.75 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.4307, allocations: 20.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.4311, allocations: 193.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4311, allocations: 8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.4311, allocations: 12 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.4313, allocations: 93.66 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4313, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.4314, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.4314, allocations: 4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.4315, allocations: 47.97 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.4324, allocations: 407.5 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.4329, allocations: 130.6 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.4329, allocations: 36.84 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.433, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.4333, allocations: 111.3 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 4.158e-06/0.4333, allocations: 3.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004114/0.4337, allocations: 169.6 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4338, allocations: 59.41 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.434, allocations: 203.1 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.434, allocations: 29.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4341, allocations: 120.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.4342, allocations: 39.72 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.4343, allocations: 61.62 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4344, allocations: 330.8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.4345, allocations: 27.98 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.4348, allocations: 243.7 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.435, allocations: 96.23 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.435, allocations: 0 / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002795/0.4353, allocations: 164.3 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.4353, allocations: 8 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4353, allocations: 0 / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4353, allocations: 0 / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.4354, allocations: 15.94 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.4354, allocations: 8.125 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.4356, allocations: 27.91 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.4357, allocations: 8 kB / 1.334 GB, free: 9.762 MB / 1.029 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.0001627/0.4359, allocations: 135.5 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.4359, allocations: 19.86 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.4359, allocations: 25.8 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4359, allocations: 4 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4359, allocations: 3.938 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4359, allocations: 0 / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.4367, allocations: 452.8 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4367, allocations: 0 / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.4367, allocations: 7.984 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4367, allocations: 0 / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.4367, allocations: 11.94 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4367, allocations: 0 / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4367, allocations: 0 / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.437, allocations: 235.2 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.437, allocations: 11.91 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.4371, allocations: 15.94 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4372, allocations: 7.984 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.4373, allocations: 23.95 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.4373, allocations: 16 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001337/0.4374, allocations: 136.5 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4374, allocations: 0 / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003142/0.4377, allocations: 47.94 kB / 1.335 GB, free: 8.551 MB / 1.029 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.0009266/0.4387, allocations: 0.8521 MB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.4389, allocations: 95.97 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4389, allocations: 4 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.439, allocations: 51.91 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.4395, allocations: 43.72 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.4418, allocations: 1.891 MB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.4419, allocations: 108.3 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.405e-05/0.442, allocations: 29.56 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4421, allocations: 55.41 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4421, allocations: 0 / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.481, allocations: 6.482 MB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.97, allocations: 10.36 kB / 1.344 GB, free: 15.02 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.249338780064136]