Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.0008164/0.0008164, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007639/0.0007639, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8815/0.8815, allocations: 177.1 MB / 203.5 MB, free: 5.664 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.767/1.767, allocations: 389.1 MB / 0.6338 GB, free: 12.66 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.704e-05, allocations: 6.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002129/0.002146, allocations: 1.729 MB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003152, allocations: 0.9083 MB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.003217, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.003369, allocations: 27.73 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.003642, allocations: 123.3 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.003869, allocations: 157.5 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.004063, allocations: 247.3 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.004178, allocations: 29.78 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.004307, allocations: 143.7 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005552/0.009859, allocations: 1.989 MB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.009896, allocations: 19.98 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.009963, allocations: 35.94 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.01002, allocations: 47.7 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.01009, allocations: 71.8 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.01037, allocations: 235.3 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.01038, allocations: 0 / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01038, allocations: 0 / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.01038, allocations: 0 / 1.006 GB, free: 7.773 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005549/0.01094, allocations: 499.1 kB / 1.007 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.01097, allocations: 8.75 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.01102, allocations: 32.78 kB / 1.007 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.01122, allocations: 190.7 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.01124, allocations: 8.375 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.01126, allocations: 15.94 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.01141, allocations: 111.4 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01142, allocations: 7.938 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.01143, allocations: 4 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.01144, allocations: 0 / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.01152, allocations: 59.88 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.01202, allocations: 452.3 kB / 1.008 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.01215, allocations: 101.2 kB / 1.008 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.01219, allocations: 33.77 kB / 1.008 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01221, allocations: 4 kB / 1.008 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.01234, allocations: 121.1 kB / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.01235, allocations: 0 / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002498/0.0126, allocations: 165.4 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.01263, allocations: 81.11 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.01277, allocations: 198.8 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01279, allocations: 33.7 kB / 1.009 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.01286, allocations: 136.5 kB / 1.009 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.01288, allocations: 27.8 kB / 1.009 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.01294, allocations: 61.67 kB / 1.009 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.01302, allocations: 330.8 kB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.01307, allocations: 27.98 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.01325, allocations: 246.3 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.01336, allocations: 125.2 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01336, allocations: 0 / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001666/0.01352, allocations: 161.4 kB / 1.01 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01354, allocations: 4 kB / 1.01 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01354, allocations: 0 / 1.01 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01355, allocations: 4 kB / 1.01 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.01361, allocations: 27.86 kB / 1.01 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01361, allocations: 4 kB / 1.01 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01372, allocations: 28.03 kB / 1.01 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.01373, allocations: 8 kB / 1.01 GB, free: 4.23 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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 9.127e-05/0.01382, allocations: 139.8 kB / 1.01 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.01384, allocations: 31.77 kB / 1.01 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.01387, allocations: 21.47 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01387, allocations: 4 kB / 1.01 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01387, allocations: 0 / 1.01 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01388, allocations: 3.984 kB / 1.01 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.01422, allocations: 390 kB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01423, allocations: 4 kB / 1.01 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.01424, allocations: 4 kB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01424, allocations: 0 / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.01425, allocations: 4 kB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.01425, allocations: 4 kB / 1.01 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01425, allocations: 0 / 1.01 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.01439, allocations: 234.6 kB / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.01441, allocations: 23.86 kB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01442, allocations: 0 / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.01449, allocations: 19.97 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.01454, allocations: 19.97 kB / 1.011 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.01455, allocations: 8 kB / 1.011 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.01463, allocations: 142.7 kB / 1.011 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01463, allocations: 0 / 1.011 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002055/0.01484, allocations: 47.94 kB / 1.011 GB, free: 3.09 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0002438/0.01508, allocations: 174.9 kB / 1.011 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.01524, allocations: 105.4 kB / 1.011 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01524, allocations: 320 / 1.011 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.01533, allocations: 51.92 kB / 1.011 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.01559, allocations: 54.08 kB / 1.011 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.01598, allocations: 309.2 kB / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.01605, allocations: 116.3 kB / 1.011 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.01609, allocations: 28.48 kB / 1.012 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.01609, allocations: 0 / 1.012 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of Templates: time 0.003374/0.01947, allocations: 3.265 MB / 1.015 GB, free: 14.98 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 7.081192078068852]