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.0006789/0.0006789, 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.0007904/0.0007904, 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.886/0.886, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.735/1.735, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.198e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002512/0.002544, allocations: 1.735 MB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003743, allocations: 0.9005 MB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.003826, allocations: 7.938 kB / 0.9848 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.004022, allocations: 27.72 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.004462, allocations: 123.3 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.004754, allocations: 151.6 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.005008, allocations: 259.3 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.005137, allocations: 17.75 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.005288, allocations: 151.7 kB / 0.9855 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005914/0.0112, allocations: 2.015 MB / 0.9874 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.01125, allocations: 16 kB / 0.9874 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.01135, allocations: 43.92 kB / 0.9875 GB, free: 13.21 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.01142, allocations: 43.83 kB / 0.9875 GB, free: 13.17 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.01151, allocations: 63.81 kB / 0.9876 GB, free: 13.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.01188, allocations: 239.2 kB / 0.9878 GB, free: 12.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01189, allocations: 0 / 0.9878 GB, free: 12.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01189, allocations: 0 / 0.9878 GB, free: 12.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.0119, allocations: 4 kB / 0.9878 GB, free: 12.87 MB / 0.948 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.00068/0.01258, allocations: 0.4888 MB / 0.9883 GB, free: 12.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01262, allocations: 15.97 kB / 0.9883 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.01268, allocations: 20.84 kB / 0.9883 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.01291, allocations: 182.1 kB / 0.9885 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.01292, allocations: 4.375 kB / 0.9885 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.01295, allocations: 23.92 kB / 0.9885 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.0131, allocations: 96.5 kB / 0.9886 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.01311, allocations: 4 kB / 0.9886 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.01312, allocations: 0 / 0.9886 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01312, allocations: 0 / 0.9886 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.01321, allocations: 55.92 kB / 0.9887 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.01375, allocations: 372.2 kB / 0.989 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.01405, allocations: 130.7 kB / 0.9892 GB, free: 11.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.0141, allocations: 24.86 kB / 0.9892 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.01411, allocations: 11.94 kB / 0.9892 GB, free: 11.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.01427, allocations: 111.4 kB / 0.9893 GB, free: 11.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01427, allocations: 0 / 0.9893 GB, free: 11.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0002902/0.01456, allocations: 165.5 kB / 0.9895 GB, free: 11.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.0146, allocations: 59.34 kB / 0.9895 GB, free: 10.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.01475, allocations: 204.1 kB / 0.9897 GB, free: 10.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.01477, allocations: 33.7 kB / 0.9897 GB, free: 10.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.01485, allocations: 124.5 kB / 0.9899 GB, free: 10.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.01488, allocations: 31.73 kB / 0.9899 GB, free: 10.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.01495, allocations: 61.67 kB / 0.9899 GB, free: 10.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.01504, allocations: 330.8 kB / 0.9903 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.01508, allocations: 31.98 kB / 0.9903 GB, free: 10.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.0153, allocations: 238.5 kB / 0.9905 GB, free: 9.863 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.0154, allocations: 92.23 kB / 0.9906 GB, free: 9.758 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01541, allocations: 0 / 0.9906 GB, free: 9.758 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001818/0.01559, allocations: 171.4 kB / 0.9908 GB, free: 9.586 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.0156, allocations: 8 kB / 0.9908 GB, free: 9.578 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01561, allocations: 0 / 0.9908 GB, free: 9.578 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01562, allocations: 4 kB / 0.9908 GB, free: 9.574 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.375e-05/0.01568, allocations: 19.94 kB / 0.9908 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01568, allocations: 0 / 0.9908 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.0158, allocations: 27.86 kB / 0.9908 GB, free: 9.527 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01581, allocations: 12 kB / 0.9908 GB, free: 9.516 MB / 0.948 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.000104/0.01592, allocations: 127.8 kB / 0.991 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.01594, allocations: 19.84 kB / 0.991 GB, free: 9.363 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.01598, allocations: 29.8 kB / 0.991 GB, free: 9.332 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01598, allocations: 7.875 kB / 0.991 GB, free: 9.324 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01599, allocations: 4 kB / 0.991 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01599, allocations: 0 / 0.991 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.01642, allocations: 424.6 kB / 0.9914 GB, free: 8.871 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01643, allocations: 48 / 0.9914 GB, free: 8.871 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.01644, allocations: 11.98 kB / 0.9914 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01645, allocations: 4 kB / 0.9914 GB, free: 8.855 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.01645, allocations: 4 kB / 0.9914 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01646, allocations: 0 / 0.9914 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01646, allocations: 0 / 0.9914 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.01662, allocations: 235.3 kB / 0.9917 GB, free: 8.605 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.01664, allocations: 15.84 kB / 0.9917 GB, free: 8.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.01666, allocations: 7.984 kB / 0.9917 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.01673, allocations: 11.98 kB / 0.9917 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.01679, allocations: 19.97 kB / 0.9917 GB, free: 8.551 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.01681, allocations: 8 kB / 0.9917 GB, free: 8.543 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.53e-05/0.0169, allocations: 144.2 kB / 0.9919 GB, free: 8.402 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.0169, allocations: 4 kB / 0.9919 GB, free: 8.398 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000216/0.01711, allocations: 55.88 kB / 0.9919 GB, free: 8.344 MB / 0.948 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.000319/0.01743, allocations: 164.1 kB / 0.9921 GB, free: 8.195 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.01761, allocations: 102.4 kB / 0.9922 GB, free: 8.098 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01762, allocations: 0 / 0.9922 GB, free: 8.098 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.01768, allocations: 43.92 kB / 0.9922 GB, free: 8.055 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.01797, allocations: 59.41 kB / 0.9923 GB, free: 8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.01844, allocations: 321.2 kB / 0.9926 GB, free: 7.656 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.882e-05/0.01852, allocations: 112.1 kB / 0.9927 GB, free: 7.523 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.01857, allocations: 28.48 kB / 0.9927 GB, free: 7.496 MB / 0.948 GB Notification: Performance of SimCode: time 4.5e-07/0.01857, allocations: 0 / 0.9927 GB, free: 7.496 MB / 0.948 GB Notification: Performance of Templates: time 0.004331/0.0229, allocations: 3.264 MB / 0.9959 GB, free: 4.246 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.201429455541074]