Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.0007915/0.0007915, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008056/0.0008056, 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.8993/0.8993, 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.728/1.728, allocations: 377.8 MB / 0.6228 GB, free: 8.648 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.174e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.001973/0.001994, allocations: 1.736 MB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.003013, allocations: 0.9005 MB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.003082, allocations: 7.938 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.003234, allocations: 23.67 kB / 0.9848 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.003505, allocations: 127.3 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.00373, allocations: 155.6 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.004002, allocations: 251.3 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004114, allocations: 25.78 kB / 0.9853 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.004243, allocations: 147.7 kB / 0.9855 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005505/0.009748, allocations: 1.977 MB / 0.9874 GB, free: 13.28 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.009783, allocations: 20 kB / 0.9874 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.009852, allocations: 43.92 kB / 0.9874 GB, free: 13.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.009905, allocations: 39.83 kB / 0.9875 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.009972, allocations: 67.81 kB / 0.9875 GB, free: 13.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.01026, allocations: 247.2 kB / 0.9878 GB, free: 12.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01027, allocations: 0 / 0.9878 GB, free: 12.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01027, allocations: 0 / 0.9878 GB, free: 12.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.01027, allocations: 0 / 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000562/0.01083, allocations: 488.7 kB / 0.9882 GB, free: 12.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.01087, allocations: 8.031 kB / 0.9883 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.01093, allocations: 20.84 kB / 0.9883 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.01114, allocations: 197.8 kB / 0.9885 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.01115, allocations: 8.375 kB / 0.9885 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.01118, allocations: 19.94 kB / 0.9885 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.01133, allocations: 114.1 kB / 0.9886 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.01134, allocations: 0 / 0.9886 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.01135, allocations: 7.938 kB / 0.9886 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01136, allocations: 4 kB / 0.9886 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.399e-05/0.01144, allocations: 55.91 kB / 0.9887 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.01196, allocations: 468.2 kB / 0.9891 GB, free: 11.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.0121, allocations: 89.06 kB / 0.9892 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.01214, allocations: 37.77 kB / 0.9892 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.01215, allocations: 192 / 0.9892 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.01229, allocations: 129 kB / 0.9894 GB, free: 11.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 8.52e-07/0.01229, allocations: 0 / 0.9894 GB, free: 11.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002455/0.01253, allocations: 162.8 kB / 0.9895 GB, free: 10.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.01257, allocations: 89.09 kB / 0.9896 GB, free: 10.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01271, allocations: 204.1 kB / 0.9898 GB, free: 10.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01273, allocations: 33.7 kB / 0.9898 GB, free: 10.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.0128, allocations: 120.5 kB / 0.9899 GB, free: 10.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.01282, allocations: 35.8 kB / 0.99 GB, free: 10.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.01288, allocations: 53.67 kB / 0.99 GB, free: 10.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.01296, allocations: 330.8 kB / 0.9903 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.01301, allocations: 35.98 kB / 0.9904 GB, free: 10 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.01319, allocations: 244.1 kB / 0.9906 GB, free: 9.707 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.0133, allocations: 116.9 kB / 0.9907 GB, free: 9.574 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0133, allocations: 0 / 0.9907 GB, free: 9.574 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001637/0.01346, allocations: 169.3 kB / 0.9909 GB, free: 9.402 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01348, allocations: 8 kB / 0.9909 GB, free: 9.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01348, allocations: 0 / 0.9909 GB, free: 9.395 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01349, allocations: 8.25 kB / 0.9909 GB, free: 9.387 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.01355, allocations: 12 kB / 0.9909 GB, free: 9.375 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01355, allocations: 7.922 kB / 0.9909 GB, free: 9.367 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01366, allocations: 35.86 kB / 0.9909 GB, free: 9.332 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.01367, allocations: 4 kB / 0.9909 GB, free: 9.328 MB / 0.948 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 8.344e-05/0.01375, allocations: 135.8 kB / 0.9911 GB, free: 9.188 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.01377, allocations: 27.83 kB / 0.9911 GB, free: 9.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.0138, allocations: 17.47 kB / 0.9911 GB, free: 9.141 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.0138, allocations: 3.938 kB / 0.9911 GB, free: 9.137 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.0138, allocations: 4 kB / 0.9911 GB, free: 9.133 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01381, allocations: 4 kB / 0.9911 GB, free: 9.129 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.01414, allocations: 393.9 kB / 0.9915 GB, free: 8.707 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01414, allocations: 0 / 0.9915 GB, free: 8.707 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.01416, allocations: 11.92 kB / 0.9915 GB, free: 8.695 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01416, allocations: 4 kB / 0.9915 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.01417, allocations: 0 / 0.9915 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01417, allocations: 3.938 kB / 0.9915 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01417, allocations: 4 kB / 0.9915 GB, free: 8.684 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.01431, allocations: 239.2 kB / 0.9918 GB, free: 8.434 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01433, allocations: 11.91 kB / 0.9918 GB, free: 8.422 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.01435, allocations: 8 kB / 0.9918 GB, free: 8.414 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.01441, allocations: 11.98 kB / 0.9918 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.01446, allocations: 27.89 kB / 0.9918 GB, free: 8.375 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.01447, allocations: 8 kB / 0.9918 GB, free: 8.367 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.01455, allocations: 144.2 kB / 0.992 GB, free: 8.227 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01455, allocations: 0 / 0.992 GB, free: 8.227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002017/0.01475, allocations: 47.89 kB / 0.992 GB, free: 8.18 MB / 0.948 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.0002459/0.015, allocations: 186.9 kB / 0.9922 GB, free: 8.012 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01516, allocations: 91.84 kB / 0.9923 GB, free: 7.922 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01516, allocations: 0 / 0.9923 GB, free: 7.922 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.01522, allocations: 51.91 kB / 0.9923 GB, free: 7.871 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.01549, allocations: 55.94 kB / 0.9924 GB, free: 7.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.01589, allocations: 319.7 kB / 0.9927 GB, free: 7.473 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.863e-05/0.01596, allocations: 116.5 kB / 0.9928 GB, free: 7.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.016, allocations: 20.5 kB / 0.9928 GB, free: 7.32 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.016, allocations: 0 / 0.9928 GB, free: 7.32 MB / 0.948 GB Notification: Performance of Templates: time 0.003504/0.01951, allocations: 3.264 MB / 0.996 GB, free: 4.078 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.377755611203611]