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.0009005/0.0009005, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000956/0.000956, allocations: 169 kB / 23.28 MB, free: 1.223 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.965/0.965, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.273/2.273, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.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.844e-06/1.844e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.194e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002192/0.002214, allocations: 1.794 MB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.00341, allocations: 0.9121 MB / 0.8924 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.003496, allocations: 7.938 kB / 0.8924 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.003667, allocations: 27.72 kB / 0.8924 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.003998, allocations: 127.3 kB / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.004298, allocations: 147.6 kB / 0.8927 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.00452, allocations: 255.3 kB / 0.8929 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004626, allocations: 29.73 kB / 0.8929 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01554/0.02017, allocations: 6.469 MB / 0.8992 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.02032, allocations: 99.73 kB / 0.8993 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.02036, allocations: 20 kB / 0.8994 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-05/0.02043, allocations: 35.92 kB / 0.8994 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.02048, allocations: 39.83 kB / 0.8994 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.02055, allocations: 59.81 kB / 0.8995 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.02081, allocations: 175.4 kB / 0.8997 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.02082, allocations: 0 / 0.8997 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02082, allocations: 4 kB / 0.8997 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.02082, allocations: 0 / 0.8997 GB, free: 1.867 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.0005583/0.02138, allocations: 0.5884 MB / 0.9002 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.02142, allocations: 8.625 kB / 0.9002 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.02147, allocations: 24.84 kB / 0.9003 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.02164, allocations: 181.2 kB / 0.9004 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.02165, allocations: 8.375 kB / 0.9004 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.02167, allocations: 19.94 kB / 0.9005 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.02177, allocations: 73.58 kB / 0.9005 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.02178, allocations: 0 / 0.9005 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.02179, allocations: 0 / 0.9005 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.02179, allocations: 4 kB / 0.9005 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.02183, allocations: 35.41 kB / 0.9006 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.02226, allocations: 388 kB / 0.9009 GB, free: 460 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.02244, allocations: 99.23 kB / 0.901 GB, free: 348 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.02247, allocations: 23.67 kB / 0.9011 GB, free: 320 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.02248, allocations: 8 kB / 0.9011 GB, free: 312 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.02259, allocations: 100 kB / 0.9012 GB, free: 200 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.02259, allocations: 0 / 0.9012 GB, free: 200 kB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0001893/0.02278, allocations: 129.5 kB / 0.9013 GB, free: 64 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.02282, allocations: 63.39 kB / 0.9013 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.02295, allocations: 250 kB / 0.9016 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.02297, allocations: 37.64 kB / 0.9016 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.02304, allocations: 171.2 kB / 0.9018 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.02307, allocations: 31.78 kB / 0.9018 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.02313, allocations: 63.31 kB / 0.9019 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.02326, allocations: 0.5118 MB / 0.9024 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.02328, allocations: 15.98 kB / 0.9024 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.02352, allocations: 240 kB / 0.9026 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/0.02359, allocations: 93.78 kB / 0.9027 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.02359, allocations: 0 / 0.9027 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001297/0.02372, allocations: 133.4 kB / 0.9028 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.02373, allocations: 15.94 kB / 0.9029 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.02374, allocations: 0 / 0.9029 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.02375, allocations: 4 kB / 0.9029 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.0238, allocations: 23.92 kB / 0.9029 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.0238, allocations: 0 / 0.9029 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.02389, allocations: 27.88 kB / 0.9029 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.0239, allocations: 8 kB / 0.9029 GB, free: 14.25 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 8.408e-05/0.02398, allocations: 170.5 kB / 0.9031 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.024, allocations: 27.84 kB / 0.9031 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.02404, allocations: 25.8 kB / 0.9031 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.02404, allocations: 4 kB / 0.9031 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.02404, allocations: 48 / 0.9031 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02405, allocations: 3.984 kB / 0.9031 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.02447, allocations: 429.6 kB / 0.9035 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02447, allocations: 4 kB / 0.9035 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.02448, allocations: 0 / 0.9035 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.02448, allocations: 4 kB / 0.9036 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.02449, allocations: 0 / 0.9036 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.02449, allocations: 4 kB / 0.9036 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02449, allocations: 3.984 kB / 0.9036 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.02463, allocations: 270.4 kB / 0.9038 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.02464, allocations: 19.84 kB / 0.9038 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.02466, allocations: 11.98 kB / 0.9038 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.02471, allocations: 11.98 kB / 0.9039 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.02475, allocations: 19.91 kB / 0.9039 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.02477, allocations: 8 kB / 0.9039 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.02483, allocations: 168.4 kB / 0.904 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.02483, allocations: 0 / 0.904 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001928/0.02502, allocations: 47.95 kB / 0.9041 GB, free: 12.97 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.0002653/0.02529, allocations: 176.5 kB / 0.9043 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.02541, allocations: 79.45 kB / 0.9043 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.02541, allocations: 0 / 0.9043 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.02547, allocations: 55.58 kB / 0.9044 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.02572, allocations: 55.83 kB / 0.9044 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.02608, allocations: 285.8 kB / 0.9047 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.02613, allocations: 71.98 kB / 0.9048 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.046e-05/0.02618, allocations: 21.62 kB / 0.9048 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.02633, allocations: 150.1 kB / 0.9049 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/0.02633, allocations: 0 / 0.9049 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of Templates: time 0.005965/0.0323, allocations: 4.221 MB / 0.9091 GB, free: 7.902 MB / 0.8698 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.360765528865159]