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.0008147/0.0008147, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008254/0.0008254, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8501/0.8501, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.729/1.729, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 3.984 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/2.039e-05, allocations: 5.234 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001867/0.001887, allocations: 1.627 MB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.002598, allocations: 0.5654 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.002658, allocations: 7.938 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.002813, allocations: 27.73 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.003075, allocations: 115.4 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.003295, allocations: 150 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.003488, allocations: 223.4 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.003583, allocations: 9.812 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.003702, allocations: 135.7 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.008121, allocations: 1.555 MB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.008152, allocations: 20 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.008215, allocations: 39.92 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.008264, allocations: 39.83 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.008327, allocations: 55.81 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.008588, allocations: 223.2 kB / 1.006 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.008591, allocations: 3.984 kB / 1.006 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.31e-07/0.008592, allocations: 0 / 1.006 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.008596, allocations: 0 / 1.006 GB, free: 8.66 MB / 0.9636 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.0008075/0.009403, allocations: 456.9 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.009449, allocations: 12.75 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.009533, allocations: 20.84 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.009843, allocations: 177.4 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.009861, allocations: 8.375 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.009896, allocations: 12.38 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.01005, allocations: 81.59 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01006, allocations: 0 / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.01007, allocations: 8 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.01007, allocations: 0 / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.01014, allocations: 43.97 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.0106, allocations: 356.2 kB / 1.007 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.01071, allocations: 62.56 kB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.01074, allocations: 28.78 kB / 1.007 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.01075, allocations: 0 / 1.007 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/0.01085, allocations: 91.5 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.01085, allocations: 0 / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0002055/0.01105, allocations: 129.6 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.01108, allocations: 55.34 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.01121, allocations: 196.3 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.01123, allocations: 33.7 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.0113, allocations: 116.2 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.01131, allocations: 27.8 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.01137, allocations: 53.67 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.01145, allocations: 330.8 kB / 1.008 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.01148, allocations: 23.98 kB / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.01166, allocations: 234.3 kB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.01174, allocations: 91.84 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01174, allocations: 0 / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001342/0.01187, allocations: 133.5 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01189, allocations: 4 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01189, allocations: 4 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.0119, allocations: 128 / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.064e-05/0.01195, allocations: 19.98 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01196, allocations: 0 / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.01205, allocations: 31.77 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01205, allocations: 7.938 kB / 1.008 GB, free: 5.617 MB / 0.9636 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 8.07e-05/0.01213, allocations: 137.8 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.01215, allocations: 19.94 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.01217, allocations: 13.45 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01218, allocations: 4 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01218, allocations: 0 / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01218, allocations: 7.938 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.01247, allocations: 361.9 kB / 1.009 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01247, allocations: 0 / 1.009 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.01248, allocations: 11.98 kB / 1.009 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01249, allocations: 0 / 1.009 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.01249, allocations: 7.938 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.0125, allocations: 3.938 kB / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.0125, allocations: 0 / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.01262, allocations: 199.9 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.01263, allocations: 15.91 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01265, allocations: 15.92 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.01269, allocations: 4 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.01274, allocations: 15.97 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.01276, allocations: 4 kB / 1.009 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.401e-05/0.01283, allocations: 141.1 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01283, allocations: 0 / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000192/0.01302, allocations: 43.94 kB / 1.009 GB, free: 4.566 MB / 0.9636 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.0002268/0.01325, allocations: 167.9 kB / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.01338, allocations: 76.09 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.01339, allocations: 8.047 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.01344, allocations: 39.92 kB / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01369, allocations: 43.78 kB / 1.01 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.01409, allocations: 311.5 kB / 1.01 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.575e-05/0.01419, allocations: 106 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.01422, allocations: 20.5 kB / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.01422, allocations: 3.938 kB / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of Templates: time 0.00339/0.01761, allocations: 2.961 MB / 1.013 GB, free: 0.8242 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/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: 7.145961384288967]