Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009728/0.0009728, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001033/0.001033, allocations: 161 kB / 23.82 MB, free: 0.75 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.968/0.968, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.791/1.791, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.011e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002468/0.002498, allocations: 1.796 MB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003776, allocations: 0.9264 MB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.003868, allocations: 5.375 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.004066, allocations: 27.67 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.00445, allocations: 127.3 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.004755, allocations: 152.2 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.005017, allocations: 248 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.005153, allocations: 25.73 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01466/0.01981, allocations: 5.383 MB / 0.82 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.02002, allocations: 95.73 kB / 0.8201 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.02005, allocations: 12 kB / 0.8201 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.02016, allocations: 39.92 kB / 0.8201 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.02022, allocations: 35.83 kB / 0.8202 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.0203, allocations: 64.62 kB / 0.8202 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.02063, allocations: 175.4 kB / 0.8204 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.02064, allocations: 0.9375 kB / 0.8204 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02064, allocations: 0 / 0.8204 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.02065, allocations: 0 / 0.8204 GB, free: 10.65 MB / 0.7761 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.0007516/0.0214, allocations: 0.5831 MB / 0.821 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.02144, allocations: 12.03 kB / 0.821 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.02153, allocations: 29.88 kB / 0.821 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.02176, allocations: 176.9 kB / 0.8212 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.02177, allocations: 16.36 kB / 0.8212 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.0218, allocations: 16.91 kB / 0.8212 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.02193, allocations: 77.61 kB / 0.8213 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.02194, allocations: 0 / 0.8213 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.02195, allocations: 5.031 kB / 0.8213 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.02196, allocations: 0 / 0.8213 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.02203, allocations: 39.91 kB / 0.8213 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.02256, allocations: 417.6 kB / 0.8217 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.02281, allocations: 108.2 kB / 0.8218 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.02285, allocations: 24.28 kB / 0.8218 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.02287, allocations: 5.625 kB / 0.8218 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.02302, allocations: 104.9 kB / 0.8219 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.02302, allocations: 0 / 0.8219 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002765/0.0233, allocations: 145.6 kB / 0.8221 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.02334, allocations: 60.41 kB / 0.8221 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.02348, allocations: 241.8 kB / 0.8224 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.0235, allocations: 34.8 kB / 0.8224 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.02358, allocations: 175.2 kB / 0.8226 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.02361, allocations: 31.75 kB / 0.8226 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.02368, allocations: 67.98 kB / 0.8227 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.0238, allocations: 0.4962 MB / 0.8232 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.02384, allocations: 20.55 kB / 0.8232 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.02405, allocations: 251.4 kB / 0.8234 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.896e-05/0.02415, allocations: 104.8 kB / 0.8235 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02415, allocations: 4 kB / 0.8235 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001636/0.02432, allocations: 141.4 kB / 0.8237 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.02433, allocations: 4.781 kB / 0.8237 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.02434, allocations: 4 kB / 0.8237 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.02435, allocations: 0.5938 kB / 0.8237 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.02449, allocations: 23.98 kB / 0.8237 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.02449, allocations: 9.469 kB / 0.8237 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.0246, allocations: 27.88 kB / 0.8237 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.02461, allocations: 4 kB / 0.8237 GB, free: 6.957 MB / 0.7761 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.688e-05/0.0247, allocations: 178.7 kB / 0.8239 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.02473, allocations: 27.8 kB / 0.8239 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.02476, allocations: 17.81 kB / 0.8239 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.02477, allocations: 0 / 0.8239 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.02477, allocations: 4 kB / 0.8239 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.02478, allocations: 3.984 kB / 0.8239 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.02521, allocations: 457.1 kB / 0.8244 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02522, allocations: 7.922 kB / 0.8244 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.02523, allocations: 4 kB / 0.8244 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.02523, allocations: 4 kB / 0.8244 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.02524, allocations: 8 kB / 0.8244 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.02525, allocations: 0 / 0.8244 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.02525, allocations: 4 kB / 0.8244 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.02541, allocations: 278.6 kB / 0.8247 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.02543, allocations: 15.84 kB / 0.8247 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.02545, allocations: 8 kB / 0.8247 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/0.0255, allocations: 11.92 kB / 0.8247 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.02556, allocations: 23.95 kB / 0.8247 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.02558, allocations: 8 kB / 0.8247 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.377e-05/0.02567, allocations: 182.3 kB / 0.8249 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02567, allocations: 0 / 0.8249 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002248/0.02589, allocations: 43.95 kB / 0.825 GB, free: 5.633 MB / 0.7761 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.0003507/0.02624, allocations: 174.8 kB / 0.8251 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.02642, allocations: 103.4 kB / 0.8252 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02642, allocations: 0 / 0.8252 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.02649, allocations: 55.59 kB / 0.8253 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.02677, allocations: 62.41 kB / 0.8253 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.02728, allocations: 310 kB / 0.8256 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.02733, allocations: 75.92 kB / 0.8257 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.168e-05/0.0274, allocations: 17.64 kB / 0.8257 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.02745, allocations: 28.48 kB / 0.8257 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.02745, allocations: 0 / 0.8257 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of Templates: time 0.006857/0.0343, allocations: 4.257 MB / 0.8299 GB, free: 0.5742 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.085646937135607]