Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001043/0.001043, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001775/0.001775, allocations: 169 kB / 23.02 MB, free: 1.551 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.9309/0.9309, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.052/2.052, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.888e-05, allocations: 5.797 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002346/0.002365, allocations: 1.808 MB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003566, allocations: 0.9328 MB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.003649, allocations: 0 / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.003834, allocations: 23.67 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.004193, allocations: 128.2 kB / 0.881 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.004485, allocations: 156.7 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.004739, allocations: 243.3 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004853, allocations: 26.78 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01602/0.02088, allocations: 6.483 MB / 0.8877 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.02103, allocations: 95.73 kB / 0.8878 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.02107, allocations: 16 kB / 0.8878 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.02115, allocations: 31.94 kB / 0.8878 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.0212, allocations: 39.83 kB / 0.8879 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.02128, allocations: 63.81 kB / 0.8879 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.02156, allocations: 179.4 kB / 0.8881 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.02156, allocations: 0 / 0.8881 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.82e-07/0.02156, allocations: 0 / 0.8881 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.02157, allocations: 0 / 0.8881 GB, free: 14.37 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005875/0.02215, allocations: 0.5849 MB / 0.8887 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.02219, allocations: 11.97 kB / 0.8887 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.02226, allocations: 36.78 kB / 0.8887 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.02245, allocations: 181.2 kB / 0.8889 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.02246, allocations: 12.36 kB / 0.8889 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.02249, allocations: 19.94 kB / 0.8889 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.02261, allocations: 69.66 kB / 0.889 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.02262, allocations: 0 / 0.889 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.02263, allocations: 15.92 kB / 0.889 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.02264, allocations: 4 kB / 0.889 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.0227, allocations: 27.98 kB / 0.889 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.02318, allocations: 411.4 kB / 0.8894 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.0234, allocations: 111.1 kB / 0.8895 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.02344, allocations: 31.67 kB / 0.8896 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.02346, allocations: 0 / 0.8896 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.02358, allocations: 101.1 kB / 0.8897 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.02358, allocations: 0 / 0.8897 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002405/0.02382, allocations: 152.3 kB / 0.8898 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.02386, allocations: 55.34 kB / 0.8899 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.024, allocations: 251.1 kB / 0.8901 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.02402, allocations: 29.7 kB / 0.8901 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.02409, allocations: 179.2 kB / 0.8903 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.02412, allocations: 27.81 kB / 0.8903 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.02418, allocations: 67.33 kB / 0.8904 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.02429, allocations: 0.4962 MB / 0.8909 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.02433, allocations: 27.86 kB / 0.8909 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.02452, allocations: 252.6 kB / 0.8911 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.078e-05/0.02461, allocations: 94.36 kB / 0.8912 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.02461, allocations: 0 / 0.8912 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001576/0.02477, allocations: 152.4 kB / 0.8914 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.02478, allocations: 8 kB / 0.8914 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.02479, allocations: 4 kB / 0.8914 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.0248, allocations: 4 kB / 0.8914 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.02486, allocations: 27.92 kB / 0.8914 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.02487, allocations: 3.984 kB / 0.8914 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.114e-05/0.02496, allocations: 23.88 kB / 0.8915 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.02497, allocations: 8 kB / 0.8915 GB, free: 10.64 MB / 0.8542 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 9.278e-05/0.02506, allocations: 178.7 kB / 0.8916 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.02508, allocations: 23.78 kB / 0.8917 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.02511, allocations: 21.8 kB / 0.8917 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.02511, allocations: 4 kB / 0.8917 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.02512, allocations: 0 / 0.8917 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.02512, allocations: 0 / 0.8917 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.02551, allocations: 469.1 kB / 0.8921 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02551, allocations: 0 / 0.8921 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.02552, allocations: 4 kB / 0.8921 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.02552, allocations: 4 kB / 0.8921 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.02553, allocations: 4 kB / 0.8921 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.02553, allocations: 3.984 kB / 0.8921 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02554, allocations: 4 kB / 0.8921 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.02569, allocations: 275.7 kB / 0.8924 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.02571, allocations: 19.83 kB / 0.8924 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.02572, allocations: 0 / 0.8924 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.02578, allocations: 15.98 kB / 0.8924 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.02584, allocations: 19.97 kB / 0.8925 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.02585, allocations: 4 kB / 0.8925 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.02593, allocations: 175.1 kB / 0.8926 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02593, allocations: 0 / 0.8926 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002053/0.02614, allocations: 47.92 kB / 0.8927 GB, free: 9.324 MB / 0.8542 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.0002933/0.02643, allocations: 172.1 kB / 0.8928 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.0266, allocations: 94.97 kB / 0.8929 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.0266, allocations: 0 / 0.8929 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.02666, allocations: 55.66 kB / 0.893 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.02693, allocations: 67.62 kB / 0.893 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.02731, allocations: 279 kB / 0.8933 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.02735, allocations: 75.98 kB / 0.8934 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.21e-05/0.02741, allocations: 25.61 kB / 0.8934 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.02745, allocations: 20.5 kB / 0.8934 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.02745, allocations: 0 / 0.8934 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of Templates: time 0.006066/0.03352, allocations: 4.268 MB / 0.8976 GB, free: 4.312 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.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.32393398322165]