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.001359/0.001359, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001585/0.001585, allocations: 217 kB / 22.25 MB, free: 5.082 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 8.023 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.249/3.249, allocations: 0.49 GB / 0.7951 GB, free: 33.54 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.002104/0.002104, allocations: 72.56 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4186, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003736/0.4223, allocations: 1.774 MB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.4243, allocations: 0.9591 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.607e-05/0.4244, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.4246, allocations: 27.73 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.4251, allocations: 127.4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.4255, allocations: 147.7 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.4259, allocations: 243.4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.426, allocations: 37.94 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.4262, allocations: 103.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01645/0.4426, allocations: 2.043 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.095e-05/0.4427, allocations: 20 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.4429, allocations: 36 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.4429, allocations: 39.84 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.4431, allocations: 91.56 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.4435, allocations: 219.1 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4435, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4435, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.4436, allocations: 0 / 1.332 GB, free: 12.62 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.0009495/0.4445, allocations: 492.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4446, allocations: 8.031 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.4446, allocations: 46.73 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.4447, allocations: 24.8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.445, allocations: 193.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.445, allocations: 8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.445, allocations: 16 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.4452, allocations: 87.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4453, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4453, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4453, allocations: 3.984 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4454, allocations: 55.91 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.4462, allocations: 443.5 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.4467, allocations: 130.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.4467, allocations: 32.84 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4468, allocations: 4 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.4471, allocations: 114.3 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.4471, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003791/0.4475, allocations: 169.6 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.4475, allocations: 55.41 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.4478, allocations: 199.1 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.4478, allocations: 33.7 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4479, allocations: 120.5 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.4479, allocations: 39.72 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.448, allocations: 57.67 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4482, allocations: 330.8 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.4483, allocations: 31.98 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.4485, allocations: 132.9 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.4487, allocations: 104.1 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4487, allocations: 0 / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002558/0.4489, allocations: 152 kB / 1.335 GB, free: 9.348 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.449, allocations: 4 kB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.449, allocations: 0 / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.449, allocations: 4 kB / 1.335 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.4491, allocations: 28.05 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4491, allocations: 0 / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.4493, allocations: 27.88 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4493, allocations: 8 kB / 1.335 GB, free: 9.277 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.0001522/0.4494, allocations: 143.5 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.4495, allocations: 15.91 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.4495, allocations: 17.81 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4495, allocations: 0 / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4495, allocations: 4 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4495, allocations: 7.984 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/0.4503, allocations: 457.3 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.4503, allocations: 0 / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.4503, allocations: 8 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4503, allocations: 0 / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4503, allocations: 11.88 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4503, allocations: 11.92 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4503, allocations: 0 / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.4506, allocations: 234.8 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.4506, allocations: 15.91 kB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.4506, allocations: 11.97 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4508, allocations: 15.97 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.4508, allocations: 27.91 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.4509, allocations: 12 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001379/0.451, allocations: 140.4 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.451, allocations: 0 / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000309/0.4513, allocations: 47.98 kB / 1.336 GB, free: 8.039 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.0009066/0.4522, allocations: 0.8281 MB / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.4525, allocations: 103.8 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4525, allocations: 0 / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.4526, allocations: 47.92 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.453, allocations: 57.83 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.4554, allocations: 1.892 MB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4558, allocations: 0.7242 MB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.4559, allocations: 29.61 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.456, allocations: 55.41 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/0.456, allocations: 0 / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.4929, allocations: 5.81 MB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.58, allocations: 9.969 kB / 1.345 GB, free: 14.53 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: 18.75584749799964]