Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001391/0.001391, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.00157/0.00157, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9244/0.9244, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.109/2.109, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8794 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.184e-05, allocations: 3 kB / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002551/0.002573, allocations: 1.786 MB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003694, allocations: 0.9317 MB / 0.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.003762, allocations: 0 / 0.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.003927, allocations: 35.25 kB / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.00422, allocations: 123.2 kB / 0.8822 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.004469, allocations: 151.6 kB / 0.8823 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.004683, allocations: 251.3 kB / 0.8825 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.004793, allocations: 25.73 kB / 0.8826 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/0.02244, allocations: 6.334 MB / 0.8888 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.02266, allocations: 99.73 kB / 0.8889 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.0227, allocations: 20 kB / 0.8889 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.02281, allocations: 31.94 kB / 0.8889 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.02287, allocations: 39.83 kB / 0.8889 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.02296, allocations: 63.81 kB / 0.889 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.0233, allocations: 179.4 kB / 0.8892 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.02331, allocations: 0 / 0.8892 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/0.02331, allocations: 0 / 0.8892 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.02332, allocations: 0 / 0.8892 GB, free: 14.21 MB / 0.8542 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.0007313/0.02405, allocations: 0.5965 MB / 0.8898 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02409, allocations: 8.031 kB / 0.8898 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.02416, allocations: 28.84 kB / 0.8898 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.02447, allocations: 177.2 kB / 0.89 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.02448, allocations: 12.38 kB / 0.89 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.02451, allocations: 23.86 kB / 0.89 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.02464, allocations: 93 kB / 0.8901 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.02465, allocations: 0 / 0.8901 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.02466, allocations: 8 kB / 0.8901 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.02467, allocations: 0 / 0.8901 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.02472, allocations: 23.97 kB / 0.8901 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.02522, allocations: 0.5145 MB / 0.8906 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.02541, allocations: 90.02 kB / 0.8907 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.02545, allocations: 35.42 kB / 0.8907 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.02546, allocations: 0 / 0.8907 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.02561, allocations: 132.4 kB / 0.8909 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 9.22e-07/0.02561, allocations: 0 / 0.8909 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002224/0.02584, allocations: 132.1 kB / 0.891 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.02588, allocations: 89.05 kB / 0.8911 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.02604, allocations: 255.6 kB / 0.8913 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.02607, allocations: 33.7 kB / 0.8913 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.02615, allocations: 163.3 kB / 0.8915 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.02617, allocations: 31.73 kB / 0.8915 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.02624, allocations: 67.3 kB / 0.8916 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02635, allocations: 0.5041 MB / 0.8921 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.02638, allocations: 19.98 kB / 0.8921 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.02669, allocations: 255.9 kB / 0.8924 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.793e-05/0.02677, allocations: 109.7 kB / 0.8925 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.02678, allocations: 0 / 0.8925 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000167/0.02694, allocations: 148.1 kB / 0.8926 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.02696, allocations: 11.28 kB / 0.8926 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.02697, allocations: 0 / 0.8926 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.02698, allocations: 4 kB / 0.8926 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.02706, allocations: 23.98 kB / 0.8926 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.02706, allocations: 7.938 kB / 0.8926 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.02717, allocations: 23.88 kB / 0.8927 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.02718, allocations: 8 kB / 0.8927 GB, free: 10.27 MB / 0.8542 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.0001059/0.02728, allocations: 170.6 kB / 0.8928 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.02731, allocations: 31.91 kB / 0.8929 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.02735, allocations: 17.47 kB / 0.8929 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.02735, allocations: 4.094 kB / 0.8929 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.02735, allocations: 3.938 kB / 0.8929 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.02736, allocations: 7.969 kB / 0.8929 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.02774, allocations: 397.8 kB / 0.8933 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02775, allocations: 3.938 kB / 0.8933 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.02776, allocations: 4 kB / 0.8933 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.02777, allocations: 0 / 0.8933 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.02777, allocations: 8 kB / 0.8933 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02778, allocations: 7.938 kB / 0.8933 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02778, allocations: 0 / 0.8933 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.02795, allocations: 271.3 kB / 0.8936 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.02797, allocations: 27.83 kB / 0.8936 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.02799, allocations: 3.984 kB / 0.8936 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.02805, allocations: 15.98 kB / 0.8936 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.0281, allocations: 15.97 kB / 0.8936 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.02813, allocations: 12 kB / 0.8936 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.0282, allocations: 159.1 kB / 0.8938 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/0.0282, allocations: 0 / 0.8938 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002202/0.02842, allocations: 44 kB / 0.8938 GB, free: 9.027 MB / 0.8542 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.0003382/0.02876, allocations: 174.2 kB / 0.894 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.0289, allocations: 82.69 kB / 0.8941 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0289, allocations: 0 / 0.8941 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.02896, allocations: 43.61 kB / 0.8941 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.02924, allocations: 81.62 kB / 0.8942 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.02963, allocations: 298.6 kB / 0.8945 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.02967, allocations: 71.98 kB / 0.8945 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.283e-05/0.02972, allocations: 17.64 kB / 0.8946 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.02989, allocations: 146.1 kB / 0.8947 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.02989, allocations: 0 / 0.8947 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of Templates: time 0.006133/0.03603, allocations: 4.221 MB / 0.8988 GB, free: 3.938 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.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.558488414157182]