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.001314/0.001314, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001469/0.001469, allocations: 211 kB / 23.03 MB, free: 4.863 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.271/3.271, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.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: 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.002042/0.002042, allocations: 63.69 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003291/0.3602, allocations: 1.723 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3619, allocations: 0.9086 MB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.362, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.3622, allocations: 31.72 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.3626, allocations: 123.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.363, allocations: 156.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.3633, allocations: 243.3 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3634, allocations: 25.73 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3636, allocations: 111.7 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.3797, allocations: 2.033 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.3798, allocations: 16 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.38, allocations: 43.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.3801, allocations: 31.91 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.3803, allocations: 87.55 kB / 1.333 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.3808, allocations: 211.2 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3808, allocations: 11.94 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3808, allocations: 0 / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.3808, allocations: 0 / 1.333 GB, free: 11.71 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001029/0.3819, allocations: 489.7 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3819, allocations: 12.03 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.382, allocations: 20.8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.3824, allocations: 189.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3824, allocations: 16 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3824, allocations: 8 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.3827, allocations: 93.64 kB / 1.334 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3827, allocations: 0 / 1.334 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3827, allocations: 4 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3827, allocations: 8 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3828, allocations: 53.62 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.3837, allocations: 372.2 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.3841, allocations: 122.7 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.3842, allocations: 36.78 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3842, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.3846, allocations: 111.3 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.3846, allocations: 3.938 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003912/0.385, allocations: 172.8 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.385, allocations: 63.39 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.3853, allocations: 199.1 kB / 1.335 GB, free: 9.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3853, allocations: 33.7 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3854, allocations: 120.5 kB / 1.335 GB, free: 9.465 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.3855, allocations: 35.73 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.3856, allocations: 53.69 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3858, allocations: 330.8 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.3858, allocations: 35.98 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.3862, allocations: 239.7 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.3863, allocations: 107.2 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3863, allocations: 0 / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000287/0.3866, allocations: 149.5 kB / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3866, allocations: 15.92 kB / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3867, allocations: 0 / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3867, allocations: 128 / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.3867, allocations: 20 kB / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3868, allocations: 4 kB / 1.336 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.387, allocations: 27.91 kB / 1.336 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.387, allocations: 4 kB / 1.336 GB, free: 8.379 MB / 1.029 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.0001678/0.3872, allocations: 140 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3872, allocations: 23.86 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.3872, allocations: 21.84 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3873, allocations: 3.984 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3873, allocations: 0 / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3873, allocations: 4 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.388, allocations: 425.8 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.388, allocations: 0 / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.388, allocations: 7.938 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.388, allocations: 0 / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.388, allocations: 0 / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.388, allocations: 4 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.388, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.3884, allocations: 239.2 kB / 1.337 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.3884, allocations: 15.91 kB / 1.337 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3884, allocations: 8 kB / 1.337 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3885, allocations: 15.97 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.3886, allocations: 27.84 kB / 1.337 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.3886, allocations: 8 kB / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001458/0.3888, allocations: 140.5 kB / 1.337 GB, free: 7.246 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3888, allocations: 0 / 1.337 GB, free: 7.246 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003233/0.3891, allocations: 43.98 kB / 1.337 GB, free: 7.203 MB / 1.029 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.0004521/0.3896, allocations: 180.6 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3898, allocations: 99.8 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3898, allocations: 4 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3899, allocations: 51.86 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3904, allocations: 56.36 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.391, allocations: 328.8 kB / 1.338 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.3912, allocations: 112.4 kB / 1.338 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.3912, allocations: 23.42 kB / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/0.3912, allocations: 0 / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of Templates: time 0.006978/0.3982, allocations: 3.256 MB / 1.341 GB, free: 3.102 MB / 1.029 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/jenkins1/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: 12.07222783495672]