Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001757/0.001757, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002158/0.002158, allocations: 212.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 75.73 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3868, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003306/0.3901, allocations: 1.723 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3919, allocations: 0.9048 MB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.392, allocations: 3.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.3922, allocations: 39.7 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.3926, allocations: 107.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.393, allocations: 161.9 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3933, allocations: 247.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3934, allocations: 25.73 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3936, allocations: 119.7 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/0.407, allocations: 1.672 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.707e-05/0.4071, allocations: 16 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4072, allocations: 44 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.4073, allocations: 35.78 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.4074, allocations: 83.67 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.4078, allocations: 223.1 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4078, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4078, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.4079, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 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.00088/0.4087, allocations: 0.4889 MB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.4088, allocations: 8.031 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.4088, allocations: 24.8 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4092, allocations: 193.6 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4092, allocations: 8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.4093, allocations: 19.94 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.4095, allocations: 112.3 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.4095, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.4095, allocations: 7.984 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4095, allocations: 8 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.4097, allocations: 51.97 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008773/0.4105, allocations: 460.3 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.4107, allocations: 89.06 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.4108, allocations: 33.78 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.4108, allocations: 8 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.4111, allocations: 129.1 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.4111, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003711/0.4115, allocations: 163.1 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.4115, allocations: 85.11 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.4117, allocations: 207.1 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.4118, allocations: 33.7 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4119, allocations: 120.5 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.4119, allocations: 35.72 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.412, allocations: 65.8 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4122, allocations: 322.8 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.4124, allocations: 35.98 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.4127, allocations: 250.2 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.4129, allocations: 114.9 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4129, allocations: 0 / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003017/0.4132, allocations: 161.4 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4132, allocations: 8 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4132, allocations: 3.938 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.4133, allocations: 4 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4134, allocations: 19.92 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4134, allocations: 0 / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.4136, allocations: 31.88 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4137, allocations: 4 kB / 1.335 GB, free: 8.473 MB / 1.029 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 0.0001699/0.4138, allocations: 148.1 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.4139, allocations: 15.91 kB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.4139, allocations: 25.45 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4139, allocations: 0 / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.4139, allocations: 0 / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4139, allocations: 0 / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.4146, allocations: 400.7 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4146, allocations: 0 / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.4147, allocations: 7.938 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4147, allocations: 8 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4147, allocations: 0 / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.4147, allocations: 3.984 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4147, allocations: 3.984 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.4149, allocations: 239.5 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.415, allocations: 15.89 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.415, allocations: 8 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.4152, allocations: 7.984 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.4152, allocations: 23.91 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.4153, allocations: 16 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001354/0.4154, allocations: 140.2 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4154, allocations: 0 / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003273/0.4157, allocations: 51.92 kB / 1.337 GB, free: 7.312 MB / 1.029 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.0004067/0.4161, allocations: 175.8 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4164, allocations: 99.66 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4164, allocations: 0 / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.4165, allocations: 47.98 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.417, allocations: 56.05 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.4177, allocations: 319.8 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.4178, allocations: 108.1 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.737e-05/0.4179, allocations: 25.62 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.418, allocations: 31.42 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.418, allocations: 0 / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of Templates: time 0.008965/0.4269, allocations: 4.061 MB / 1.341 GB, free: 2.461 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.193989923995105]