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.0007428/0.0007428, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009555/0.001698, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007043/0.0007043, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009005/0.001605, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9837/0.9837, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09633/1.08, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.462/2.462, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2492/2.711, allocations: 145.9 MB / 0.817 GB, free: 4.188 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.914e-06/1.914e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.662e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002482/0.002509, allocations: 1.839 MB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.003965, allocations: 0.947 MB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.004061, allocations: 0 / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.00419, allocations: 27.73 kB / 0.821 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.004506, allocations: 115.3 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.004855, allocations: 155.6 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.005133, allocations: 239.4 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.00524, allocations: 18.45 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01431/0.01955, allocations: 5.42 MB / 0.8268 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.01981, allocations: 99.73 kB / 0.8269 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.01985, allocations: 12 kB / 0.8269 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.01999, allocations: 35.92 kB / 0.827 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.02005, allocations: 23.94 kB / 0.827 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.02014, allocations: 43.88 kB / 0.827 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.02053, allocations: 155.4 kB / 0.8272 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.98e-05/0.02055, allocations: 0 / 0.8272 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.953e-06/0.02055, allocations: 0 / 0.8272 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.02057, allocations: 0 / 0.8272 GB, free: 11.79 MB / 0.8073 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.0006875/0.02126, allocations: 0.495 MB / 0.8277 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.0213, allocations: 8.625 kB / 0.8277 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.02135, allocations: 24.91 kB / 0.8277 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.02155, allocations: 173.9 kB / 0.8279 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.02157, allocations: 11.94 kB / 0.8279 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.02159, allocations: 12 kB / 0.8279 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.0217, allocations: 72.39 kB / 0.8279 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.02171, allocations: 0 / 0.8279 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.02172, allocations: 8 kB / 0.828 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.02173, allocations: 4 kB / 0.828 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.372e-05/0.02177, allocations: 23.97 kB / 0.828 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.0222, allocations: 263.9 kB / 0.8282 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.02238, allocations: 86.45 kB / 0.8283 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.02241, allocations: 24.84 kB / 0.8283 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.02242, allocations: 0 / 0.8283 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.02255, allocations: 95.27 kB / 0.8284 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.02255, allocations: 0 / 0.8284 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001742/0.02273, allocations: 105.6 kB / 0.8285 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.02277, allocations: 55.41 kB / 0.8286 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.02289, allocations: 190.4 kB / 0.8288 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.02291, allocations: 33.7 kB / 0.8288 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.02297, allocations: 100.6 kB / 0.8289 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.023, allocations: 51.66 kB / 0.8289 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.02307, allocations: 53.66 kB / 0.829 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.02316, allocations: 334.8 kB / 0.8293 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.02319, allocations: 19.92 kB / 0.8293 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.02337, allocations: 217.4 kB / 0.8295 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.02345, allocations: 78.14 kB / 0.8296 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.02345, allocations: 0 / 0.8296 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001339/0.02358, allocations: 117.5 kB / 0.8297 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.0236, allocations: 4 kB / 0.8297 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.02361, allocations: 0 / 0.8297 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.02362, allocations: 4 kB / 0.8297 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.02369, allocations: 31.92 kB / 0.8298 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.02369, allocations: 0 / 0.8298 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.0238, allocations: 27.88 kB / 0.8298 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.02381, allocations: 4 kB / 0.8298 GB, free: 8.875 MB / 0.8073 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 9.895e-05/0.02391, allocations: 130.8 kB / 0.8299 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.02393, allocations: 23.95 kB / 0.8299 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.02396, allocations: 25.73 kB / 0.83 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02397, allocations: 0 / 0.83 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.02397, allocations: 0 / 0.83 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02397, allocations: 4 kB / 0.83 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.0243, allocations: 314.4 kB / 0.8303 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.0243, allocations: 0 / 0.8303 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.02432, allocations: 7.984 kB / 0.8303 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.02434, allocations: 19.91 kB / 0.8303 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.02434, allocations: 0 / 0.8303 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.02434, allocations: 0 / 0.8303 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.02435, allocations: 4 kB / 0.8303 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02435, allocations: 0 / 0.8303 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.02445, allocations: 202.5 kB / 0.8305 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.02447, allocations: 0 / 0.8305 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/0.02452, allocations: 15.98 kB / 0.8305 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.02457, allocations: 19.97 kB / 0.8305 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.02458, allocations: 4 kB / 0.8305 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.02463, allocations: 57.8 kB / 0.8306 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02463, allocations: 0 / 0.8306 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001979/0.02483, allocations: 43.95 kB / 0.8306 GB, free: 7.969 MB / 0.8073 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.0003636/0.02519, allocations: 182.7 kB / 0.8308 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.02533, allocations: 80.06 kB / 0.8309 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.02534, allocations: 4 kB / 0.8309 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.02539, allocations: 40.84 kB / 0.8309 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.02563, allocations: 72.02 kB / 0.831 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.02628, allocations: 324 kB / 0.8313 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.02632, allocations: 75.98 kB / 0.8314 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.02638, allocations: 17.64 kB / 0.8314 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.02654, allocations: 117.2 kB / 0.8315 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.02654, allocations: 0 / 0.8315 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of Templates: time 0.006462/0.033, allocations: 4.172 MB / 0.8356 GB, free: 2.945 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.463601385243237]