Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001869/0.001869, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001587/0.001587, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.279/3.279, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.002862/0.002862, allocations: 78.25 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4888, allocations: 181.8 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.004576/0.4934, allocations: 1.634 MB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.4946, allocations: 0.5588 MB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.4947, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.4949, allocations: 27.73 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.4952, allocations: 119.4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.4956, allocations: 152.4 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.4959, allocations: 211.5 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4961, allocations: 17.73 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.4962, allocations: 99.67 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/0.5089, allocations: 1.576 MB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.509, allocations: 16 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.5091, allocations: 35.98 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.5092, allocations: 51.77 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.5093, allocations: 63.7 kB / 1.368 GB, free: 9.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.5096, allocations: 195.3 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5097, allocations: 0 / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5097, allocations: 0 / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5097, allocations: 0 / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007702/0.5104, allocations: 460.8 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5105, allocations: 12.03 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.5105, allocations: 38.75 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.5106, allocations: 20.84 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.5109, allocations: 189.9 kB / 1.369 GB, free: 9.008 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5109, allocations: 12 kB / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.5109, allocations: 11.98 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.5111, allocations: 85.61 kB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5111, allocations: 0 / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5111, allocations: 0 / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5111, allocations: 3.984 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.5112, allocations: 39.98 kB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.512, allocations: 379.7 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.5122, allocations: 66.48 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.5122, allocations: 24.86 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.5123, allocations: 0 / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.5124, allocations: 91.31 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.5124, allocations: 0 / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0003385/0.5128, allocations: 141.6 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.5128, allocations: 55.41 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.513, allocations: 191.3 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.5131, allocations: 29.7 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.5132, allocations: 120 kB / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.5132, allocations: 31.73 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.5133, allocations: 49.69 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5135, allocations: 330.8 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.5135, allocations: 27.98 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.5139, allocations: 236.9 kB / 1.371 GB, free: 6.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.514, allocations: 92.22 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.514, allocations: 0 / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002472/0.5143, allocations: 131.8 kB / 1.371 GB, free: 6.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5143, allocations: 7.938 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5143, allocations: 4 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5143, allocations: 0 / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.5144, allocations: 15.94 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5144, allocations: 4.125 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.5146, allocations: 23.94 kB / 1.371 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5146, allocations: 4 kB / 1.371 GB, free: 6.645 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001411/0.5147, allocations: 142.6 kB / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.5148, allocations: 15.84 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.5148, allocations: 13.41 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5148, allocations: 4 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5148, allocations: 0 / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5148, allocations: 3.938 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.5154, allocations: 405.7 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5154, allocations: 3.984 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.5154, allocations: 4 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5154, allocations: 0 / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5154, allocations: 4 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5154, allocations: 0 / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5154, allocations: 48 / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5157, allocations: 211.3 kB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.5157, allocations: 11.91 kB / 1.372 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.5157, allocations: 7.984 kB / 1.372 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.5158, allocations: 12 kB / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.5159, allocations: 15.97 kB / 1.372 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.5159, allocations: 7.938 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001367/0.516, allocations: 137.2 kB / 1.372 GB, free: 5.586 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.516, allocations: 0 / 1.372 GB, free: 5.586 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003105/0.5163, allocations: 35.94 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008877/0.5172, allocations: 0.8142 MB / 1.373 GB, free: 4.734 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.5174, allocations: 79.84 kB / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5174, allocations: 256 / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.5175, allocations: 39.86 kB / 1.373 GB, free: 4.617 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.5179, allocations: 50.12 kB / 1.373 GB, free: 4.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.5201, allocations: 1.778 MB / 1.374 GB, free: 2.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.5202, allocations: 110 kB / 1.375 GB, free: 2.562 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.561e-05/0.5202, allocations: 17.42 kB / 1.375 GB, free: 2.547 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.5204, allocations: 51.41 kB / 1.375 GB, free: 2.496 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.5204, allocations: 0 / 1.375 GB, free: 2.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.5566, allocations: 5.849 MB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.45, allocations: 4.062 kB / 1.38 GB, free: 12.84 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.33115674322471]