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.0008365/0.0008365, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008689/0.0008689, 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.904/0.904, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.801/1.801, allocations: 377.9 MB / 0.6229 GB, free: 8.672 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.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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.978e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002371/0.002401, allocations: 1.731 MB / 0.9839 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003634, allocations: 0.8966 MB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.003724, allocations: 7.938 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.003927, allocations: 23.78 kB / 0.9848 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.004289, allocations: 123.3 kB / 0.9849 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.004584, allocations: 151.6 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.004842, allocations: 259.2 kB / 0.9853 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.004979, allocations: 29.78 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.005138, allocations: 143.8 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.01004, allocations: 1.653 MB / 0.9871 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.01011, allocations: 16 kB / 0.9871 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.01021, allocations: 35.94 kB / 0.9871 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.01027, allocations: 43.77 kB / 0.9871 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.815e-05/0.01037, allocations: 71.8 kB / 0.9872 GB, free: 13.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.01073, allocations: 239.3 kB / 0.9874 GB, free: 13.15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01074, allocations: 0 / 0.9874 GB, free: 13.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01074, allocations: 0 / 0.9874 GB, free: 13.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.01074, allocations: 0 / 0.9874 GB, free: 13.15 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.0006771/0.01142, allocations: 0.4888 MB / 0.9879 GB, free: 12.62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01146, allocations: 12.03 kB / 0.9879 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.01152, allocations: 16.84 kB / 0.9879 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.01174, allocations: 185.9 kB / 0.9881 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.01176, allocations: 16.38 kB / 0.9881 GB, free: 12.37 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.01178, allocations: 23.88 kB / 0.9882 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.01195, allocations: 117.4 kB / 0.9883 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.01196, allocations: 3.984 kB / 0.9883 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.01197, allocations: 0 / 0.9883 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.01198, allocations: 4 kB / 0.9883 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.01207, allocations: 51.97 kB / 0.9883 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.01285, allocations: 468.2 kB / 0.9888 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.01299, allocations: 85.08 kB / 0.9889 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.01304, allocations: 41.77 kB / 0.9889 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.01306, allocations: 0 / 0.9889 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.01321, allocations: 125.1 kB / 0.989 GB, free: 11.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.01321, allocations: 0 / 0.989 GB, free: 11.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0005205/0.01373, allocations: 161.4 kB / 0.9892 GB, free: 11.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.01378, allocations: 85.23 kB / 0.9893 GB, free: 11.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.01393, allocations: 205 kB / 0.9894 GB, free: 10.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.01395, allocations: 33.7 kB / 0.9895 GB, free: 10.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.01403, allocations: 128.5 kB / 0.9896 GB, free: 10.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.01405, allocations: 35.72 kB / 0.9896 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.01411, allocations: 61.64 kB / 0.9897 GB, free: 10.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.0142, allocations: 330.8 kB / 0.99 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.01431, allocations: 31.98 kB / 0.99 GB, free: 10.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.01451, allocations: 244.2 kB / 0.9903 GB, free: 9.977 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.01461, allocations: 121.5 kB / 0.9904 GB, free: 9.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01462, allocations: 0 / 0.9904 GB, free: 9.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001645/0.01478, allocations: 157.4 kB / 0.9905 GB, free: 9.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.0148, allocations: 4 kB / 0.9905 GB, free: 9.676 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.01481, allocations: 4 kB / 0.9905 GB, free: 9.672 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.01483, allocations: 160 / 0.9905 GB, free: 9.672 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.0149, allocations: 27.86 kB / 0.9906 GB, free: 9.645 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.0149, allocations: 4 kB / 0.9906 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01502, allocations: 27.88 kB / 0.9906 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.01503, allocations: 8 kB / 0.9906 GB, free: 9.605 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 0.0001016/0.01513, allocations: 139.8 kB / 0.9907 GB, free: 9.461 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.01515, allocations: 19.84 kB / 0.9908 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.01518, allocations: 17.47 kB / 0.9908 GB, free: 9.422 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01519, allocations: 8 kB / 0.9908 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.01519, allocations: 0 / 0.9908 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.0152, allocations: 7.984 kB / 0.9908 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.01559, allocations: 398 kB / 0.9912 GB, free: 8.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01559, allocations: 0 / 0.9912 GB, free: 8.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.01561, allocations: 7.984 kB / 0.9912 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01561, allocations: 3.938 kB / 0.9912 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01562, allocations: 4 kB / 0.9912 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01562, allocations: 0 / 0.9912 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01562, allocations: 0 / 0.9912 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.01578, allocations: 240.1 kB / 0.9914 GB, free: 8.711 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.01579, allocations: 15.91 kB / 0.9914 GB, free: 8.695 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.01581, allocations: 7.984 kB / 0.9914 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.01588, allocations: 11.98 kB / 0.9915 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.01593, allocations: 19.97 kB / 0.9915 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.01595, allocations: 4 kB / 0.9915 GB, free: 8.652 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.41e-05/0.01604, allocations: 147.3 kB / 0.9916 GB, free: 8.508 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01604, allocations: 0 / 0.9916 GB, free: 8.508 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002201/0.01626, allocations: 51.89 kB / 0.9917 GB, free: 8.457 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.0004143/0.01667, allocations: 177.5 kB / 0.9918 GB, free: 8.301 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01685, allocations: 103.8 kB / 0.9919 GB, free: 8.199 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01685, allocations: 4 kB / 0.9919 GB, free: 8.195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.01692, allocations: 46.73 kB / 0.992 GB, free: 8.152 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.01722, allocations: 58.31 kB / 0.992 GB, free: 8.098 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.01775, allocations: 337 kB / 0.9924 GB, free: 7.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/0.01783, allocations: 112.9 kB / 0.9925 GB, free: 7.602 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.01788, allocations: 28.5 kB / 0.9925 GB, free: 7.574 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.01788, allocations: 0 / 0.9925 GB, free: 7.574 MB / 0.948 GB Notification: Performance of Templates: time 0.004986/0.02286, allocations: 3.255 MB / 0.9957 GB, free: 4.332 MB / 0.948 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 -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/jenkins/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: 7.4939147206023335]