Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001313/0.001313, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 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.001576/0.001576, allocations: 157.7 kB / 22.76 MB, free: 1.676 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 1.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.164/3.164, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.678e-05, allocations: 6.312 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004673/0.00471, allocations: 1.738 MB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.007281, allocations: 0.8975 MB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.007407, allocations: 4 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.00763, allocations: 27.67 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.008164, allocations: 128.4 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.008596, allocations: 157.1 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.008983, allocations: 243.3 kB / 0.8807 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.009103, allocations: 21.8 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.009367, allocations: 147.7 kB / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01674/0.02611, allocations: 2.734 MB / 0.8835 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.02619, allocations: 24 kB / 0.8835 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.02633, allocations: 43.86 kB / 0.8836 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.02641, allocations: 39.83 kB / 0.8836 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.02654, allocations: 67.8 kB / 0.8837 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.02705, allocations: 243.1 kB / 0.8839 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.02705, allocations: 0 / 0.8839 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.02706, allocations: 0 / 0.8839 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.02707, allocations: 0 / 0.8839 GB, free: 1.023 MB / 0.8386 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.001025/0.02809, allocations: 488.7 kB / 0.8844 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.02813, allocations: 12.03 kB / 0.8844 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.02825, allocations: 32.78 kB / 0.8844 GB, free: 472 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.02859, allocations: 190.3 kB / 0.8846 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.02861, allocations: 8.375 kB / 0.8846 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.02865, allocations: 19.94 kB / 0.8846 GB, free: 228 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.02888, allocations: 91.53 kB / 0.8847 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.02888, allocations: 0 / 0.8847 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.0289, allocations: 4 kB / 0.8847 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.02891, allocations: 4 kB / 0.8847 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.02904, allocations: 55.97 kB / 0.8848 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.02993, allocations: 368.1 kB / 0.8851 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.03041, allocations: 130.7 kB / 0.8852 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.03049, allocations: 40.84 kB / 0.8853 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.03052, allocations: 4 kB / 0.8853 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.03073, allocations: 106.3 kB / 0.8854 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.03073, allocations: 0 / 0.8854 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004284/0.03116, allocations: 173.6 kB / 0.8855 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.03122, allocations: 59.34 kB / 0.8856 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.03146, allocations: 200.3 kB / 0.8858 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.03151, allocations: 33.7 kB / 0.8858 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.03162, allocations: 120.6 kB / 0.8859 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.03167, allocations: 35.73 kB / 0.886 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.03178, allocations: 61.69 kB / 0.886 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.03197, allocations: 330.8 kB / 0.8864 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.03205, allocations: 27.98 kB / 0.8864 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.03242, allocations: 238.4 kB / 0.8866 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.03258, allocations: 96.22 kB / 0.8867 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.03258, allocations: 0 / 0.8867 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003243/0.03291, allocations: 172.1 kB / 0.8869 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.03293, allocations: 15.92 kB / 0.8869 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.03293, allocations: 0 / 0.8869 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.03296, allocations: 4 kB / 0.8869 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.03303, allocations: 8 kB / 0.8869 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.03303, allocations: 4 kB / 0.8869 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.03327, allocations: 27.88 kB / 0.8869 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.03328, allocations: 7.984 kB / 0.8869 GB, free: 13.67 MB / 0.8542 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.0001572/0.03344, allocations: 143.9 kB / 0.8871 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.03349, allocations: 23.84 kB / 0.8871 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.03354, allocations: 25.73 kB / 0.8871 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.03354, allocations: 4 kB / 0.8871 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.03355, allocations: 4.047 kB / 0.8871 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.03355, allocations: 3.984 kB / 0.8871 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007564/0.03431, allocations: 421.9 kB / 0.8875 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.03431, allocations: 0 / 0.8875 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.03434, allocations: 7.938 kB / 0.8875 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.03434, allocations: 4 kB / 0.8875 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.03436, allocations: 4 kB / 0.8875 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.03436, allocations: 0 / 0.8875 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.03436, allocations: 0 / 0.8875 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.03471, allocations: 246.2 kB / 0.8878 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.03474, allocations: 11.91 kB / 0.8878 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.03477, allocations: 7.984 kB / 0.8878 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.0349, allocations: 11.98 kB / 0.8878 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.03498, allocations: 19.97 kB / 0.8878 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.03501, allocations: 8 kB / 0.8878 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001565/0.03517, allocations: 148.2 kB / 0.888 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03517, allocations: 0 / 0.888 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003382/0.03551, allocations: 47.92 kB / 0.888 GB, free: 12.49 MB / 0.8542 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.000482/0.03599, allocations: 173.6 kB / 0.8882 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.03625, allocations: 95.84 kB / 0.8883 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.03626, allocations: 0 / 0.8883 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.03636, allocations: 47.92 kB / 0.8883 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.03684, allocations: 70.52 kB / 0.8884 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.03762, allocations: 325.2 kB / 0.8887 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.03774, allocations: 104.3 kB / 0.8888 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.531e-05/0.03784, allocations: 33.56 kB / 0.8888 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.03791, allocations: 24.48 kB / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of SimCode: time 3.71e-07/0.03791, allocations: 0 / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.009818/0.04772, allocations: 4.015 MB / 0.8928 GB, free: 7.656 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 8.43699660198763]