Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.0008163/0.0008163, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007907/0.0007907, allocations: 177.9 kB / 23.22 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.8672/0.8672, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.749/1.749, 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 3.938 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.072e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.001973/0.001994, allocations: 1.728 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.00303, allocations: 0.9082 MB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.003096, allocations: 4 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.00326, allocations: 23.73 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.003556, allocations: 127.3 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.003798, allocations: 155.6 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.004001, allocations: 243.3 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004118, allocations: 25.8 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.004251, allocations: 155.6 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004653/0.008904, allocations: 1.658 MB / 1.006 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.008938, allocations: 16 kB / 1.006 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.081e-05/0.009009, allocations: 39.92 kB / 1.006 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.009061, allocations: 43.83 kB / 1.006 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.009132, allocations: 71.8 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.009417, allocations: 235.3 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.009419, allocations: 0 / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00942, allocations: 0 / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.009424, allocations: 0 / 1.006 GB, free: 8.062 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.0005664/0.00999, allocations: 496.7 kB / 1.007 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.01003, allocations: 16.73 kB / 1.007 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.01008, allocations: 20.8 kB / 1.007 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.01028, allocations: 190.7 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.0103, allocations: 12.38 kB / 1.007 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.01032, allocations: 15.94 kB / 1.007 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.01047, allocations: 113.7 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.01048, allocations: 4 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.01049, allocations: 4 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.01049, allocations: 4 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.788e-05/0.01058, allocations: 59.88 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.01108, allocations: 456.3 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.01121, allocations: 89.27 kB / 1.008 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.01125, allocations: 37.77 kB / 1.008 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.01126, allocations: 4 kB / 1.008 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.0114, allocations: 125 kB / 1.008 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.01141, allocations: 4 kB / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002578/0.01166, allocations: 157.4 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.0117, allocations: 89.05 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.01183, allocations: 194.8 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.01186, allocations: 33.7 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.01194, allocations: 128.5 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.01196, allocations: 31.92 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-05/0.01202, allocations: 61.67 kB / 1.008 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.0121, allocations: 330.8 kB / 1.009 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.01214, allocations: 35.98 kB / 1.009 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01232, allocations: 240.2 kB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.773e-05/0.01242, allocations: 113.6 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.011e-05/0.01246, allocations: 4 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001646/0.01262, allocations: 169.4 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.01263, allocations: 7.938 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01264, allocations: 8 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01265, allocations: 0 / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.01271, allocations: 19.92 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01271, allocations: 4 kB / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01282, allocations: 27.88 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.01283, allocations: 8.156 kB / 1.009 GB, free: 4.52 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 8.255e-05/0.01291, allocations: 147.7 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.01293, allocations: 23.8 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.01296, allocations: 17.47 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01296, allocations: 4 kB / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01296, allocations: 0 / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01297, allocations: 3.984 kB / 1.01 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.01331, allocations: 386 kB / 1.01 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01331, allocations: 0 / 1.01 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.01333, allocations: 12 kB / 1.01 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.01333, allocations: 0 / 1.01 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.01334, allocations: 4 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01334, allocations: 0 / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01334, allocations: 3.938 kB / 1.01 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.01349, allocations: 234.7 kB / 1.01 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01351, allocations: 19.86 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.01352, allocations: 0 / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.01359, allocations: 19.97 kB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.01364, allocations: 19.97 kB / 1.01 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.01366, allocations: 8 kB / 1.01 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.567e-05/0.01375, allocations: 146.7 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01375, allocations: 0 / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002091/0.01396, allocations: 43.94 kB / 1.01 GB, free: 3.387 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.0002627/0.01422, allocations: 181.4 kB / 1.011 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.01439, allocations: 97.25 kB / 1.011 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01439, allocations: 0 / 1.011 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.01446, allocations: 47.91 kB / 1.011 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.01473, allocations: 63.12 kB / 1.011 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.01531, allocations: 333 kB / 1.011 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.412e-05/0.01539, allocations: 112.2 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.01544, allocations: 28.5 kB / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.01544, allocations: 0 / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.004024/0.01946, allocations: 3.268 MB / 1.014 GB, free: 15.25 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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: 6.912349661812186]