Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.0008186/0.0008186, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.000924/0.000924, allocations: 173.1 kB / 23.28 MB, free: 1.215 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 1.003/1.003, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.334/2.334, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.818e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003757/0.003785, allocations: 1.797 MB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.005694, allocations: 0.9122 MB / 0.8923 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.005833, allocations: 11.94 kB / 0.8924 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.006055, allocations: 27.67 kB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.006559, allocations: 119.4 kB / 0.8925 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.007016, allocations: 159.6 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.007411, allocations: 247.3 kB / 0.8929 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.007561, allocations: 29.73 kB / 0.8929 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02106/0.02862, allocations: 5.383 MB / 0.8982 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.02891, allocations: 95.73 kB / 0.8983 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.02897, allocations: 12 kB / 0.8983 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.0291, allocations: 39.92 kB / 0.8983 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.02916, allocations: 35.83 kB / 0.8983 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.02926, allocations: 63.77 kB / 0.8984 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.0297, allocations: 183.4 kB / 0.8986 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.0297, allocations: 0 / 0.8986 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.462e-06/0.02971, allocations: 0 / 0.8986 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.02971, allocations: 0 / 0.8986 GB, free: 2.609 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.0007276/0.03044, allocations: 0.5806 MB / 0.8991 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.03049, allocations: 12.62 kB / 0.8992 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.03058, allocations: 28.84 kB / 0.8992 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.03085, allocations: 181.2 kB / 0.8994 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.03087, allocations: 16.38 kB / 0.8994 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.03089, allocations: 11.94 kB / 0.8994 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.03103, allocations: 73.64 kB / 0.8995 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.03104, allocations: 0 / 0.8995 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.03105, allocations: 4 kB / 0.8995 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.03106, allocations: 0 / 0.8995 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.369e-05/0.03112, allocations: 27.97 kB / 0.8995 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.03175, allocations: 388 kB / 0.8999 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.032, allocations: 99.17 kB / 0.9 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.03204, allocations: 27.67 kB / 0.9 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.03206, allocations: 0 / 0.9 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.03221, allocations: 97.12 kB / 0.9001 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.03221, allocations: 0 / 0.9001 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002535/0.03247, allocations: 137.4 kB / 0.9002 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.03251, allocations: 63.33 kB / 0.9003 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.03267, allocations: 250 kB / 0.9005 GB, free: 480 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.03271, allocations: 33.7 kB / 0.9005 GB, free: 440 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.03281, allocations: 167.2 kB / 0.9007 GB, free: 268 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.03285, allocations: 31.8 kB / 0.9007 GB, free: 236 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.03294, allocations: 67.3 kB / 0.9008 GB, free: 160 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.0331, allocations: 0.504 MB / 0.9013 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.03314, allocations: 19.98 kB / 0.9013 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.03336, allocations: 232.6 kB / 0.9015 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.03349, allocations: 105.2 kB / 0.9016 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.03349, allocations: 0 / 0.9016 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002253/0.03372, allocations: 129.4 kB / 0.9017 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.03374, allocations: 11.94 kB / 0.9018 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.03375, allocations: 0 / 0.9018 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.03377, allocations: 0 / 0.9018 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.03385, allocations: 31.92 kB / 0.9018 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.03385, allocations: 4.125 kB / 0.9018 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.03399, allocations: 23.88 kB / 0.9018 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.034, allocations: 8 kB / 0.9018 GB, free: 15 MB / 0.8698 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.0001433/0.03414, allocations: 170.5 kB / 0.902 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.03419, allocations: 27.84 kB / 0.902 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/0.03426, allocations: 21.8 kB / 0.902 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.03426, allocations: 0 / 0.902 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.03427, allocations: 4 kB / 0.902 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.03428, allocations: 4.031 kB / 0.902 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.0349, allocations: 437.1 kB / 0.9025 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.0349, allocations: 0 / 0.9025 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.03493, allocations: 4 kB / 0.9025 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.03493, allocations: 3.938 kB / 0.9025 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.03495, allocations: 8 kB / 0.9025 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.03495, allocations: 0 / 0.9025 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.03495, allocations: 0 / 0.9025 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.03527, allocations: 263.7 kB / 0.9027 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.0353, allocations: 23.78 kB / 0.9027 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.03533, allocations: 11.98 kB / 0.9028 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.03543, allocations: 11.98 kB / 0.9028 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.03551, allocations: 19.97 kB / 0.9028 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.03553, allocations: 4 kB / 0.9028 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001077/0.03564, allocations: 160.4 kB / 0.9029 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.1e-07/0.03564, allocations: 4 kB / 0.9029 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003173/0.03596, allocations: 43.95 kB / 0.903 GB, free: 13.73 MB / 0.8698 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.000572/0.03653, allocations: 183.2 kB / 0.9032 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.03674, allocations: 86.92 kB / 0.9032 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.03674, allocations: 0 / 0.9032 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.03683, allocations: 51.59 kB / 0.9033 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.03724, allocations: 65.69 kB / 0.9034 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.038, allocations: 303 kB / 0.9036 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.03808, allocations: 71.98 kB / 0.9037 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.637e-05/0.03817, allocations: 25.69 kB / 0.9037 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.03843, allocations: 146.1 kB / 0.9039 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of SimCode: time 9.52e-07/0.03843, allocations: 0 / 0.9039 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of Templates: time 0.007059/0.04549, allocations: 4.226 MB / 0.908 GB, free: 8.621 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.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.515497441869229]