Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 113.9 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002631/0.002631, allocations: 189.7 kB / 22.23 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7788, allocations: 160.8 MB / 1.218 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00357/0.7824, allocations: 1.761 MB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.7842, allocations: 0.9222 MB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.7843, allocations: 2.188 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.7846, allocations: 30.16 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.785, allocations: 125.4 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.7855, allocations: 159.5 kB / 1.221 GB, free: 1.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.7858, allocations: 240.5 kB / 1.222 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.7859, allocations: 32.8 kB / 1.222 GB, free: 1.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.7861, allocations: 110.1 kB / 1.222 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/0.7995, allocations: 1.674 MB / 1.223 GB, free: 476 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.7996, allocations: 18.22 kB / 1.223 GB, free: 476 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.7997, allocations: 36.12 kB / 1.223 GB, free: 468 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.7998, allocations: 47.38 kB / 1.223 GB, free: 428 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.8, allocations: 90.73 kB / 1.224 GB, free: 360 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.8005, allocations: 226.9 kB / 1.224 GB, free: 196 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8005, allocations: 0 / 1.224 GB, free: 196 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8005, allocations: 0 / 1.224 GB, free: 196 kB / 0.92 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.8005, allocations: 1.219 kB / 1.224 GB, free: 196 kB / 0.92 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.0009888/0.8015, allocations: 0.5616 MB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.8015, allocations: 13.03 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.337e-05/0.8016, allocations: 19.94 kB / 1.224 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.802, allocations: 252.4 kB / 1.225 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.802, allocations: 10.47 kB / 1.225 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.802, allocations: 14.56 kB / 1.225 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.8022, allocations: 112 kB / 1.225 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.8022, allocations: 1.094 kB / 1.225 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.8023, allocations: 5.062 kB / 1.225 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8023, allocations: 6.188 kB / 1.225 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.8024, allocations: 52.88 kB / 1.225 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009529/0.8033, allocations: 0.5391 MB / 1.225 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.8035, allocations: 94.47 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.8036, allocations: 36.56 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.8036, allocations: 1.094 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.8039, allocations: 134.1 kB / 1.226 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.8039, allocations: 0 / 1.226 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003724/0.8043, allocations: 158.1 kB / 1.226 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.8043, allocations: 80.2 kB / 1.226 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.8045, allocations: 201 kB / 1.226 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.8046, allocations: 33.58 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.8047, allocations: 122.2 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.8047, allocations: 41.53 kB / 1.226 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.8048, allocations: 60.02 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.805, allocations: 327.2 kB / 1.227 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.805, allocations: 30.45 kB / 1.227 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.8053, allocations: 153.1 kB / 1.227 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.8055, allocations: 109.7 kB / 1.227 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8055, allocations: 0 / 1.227 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002759/0.8057, allocations: 163.2 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.8057, allocations: 10.64 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8058, allocations: 1.375 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8058, allocations: 2.75 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.8059, allocations: 16.16 kB / 1.227 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8059, allocations: 2.719 kB / 1.227 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.8061, allocations: 32.02 kB / 1.227 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.8061, allocations: 10.84 kB / 1.227 GB, free: 13.26 MB / 0.9356 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.0001339/0.8062, allocations: 135.8 kB / 1.227 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.8063, allocations: 21.25 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.8063, allocations: 20.89 kB / 1.227 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8063, allocations: 2.781 kB / 1.227 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8063, allocations: 3.938 kB / 1.227 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8063, allocations: 1.188 kB / 1.227 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.807, allocations: 473.1 kB / 1.228 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.807, allocations: 0 / 1.228 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.807, allocations: 7.156 kB / 1.228 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.807, allocations: 2.219 kB / 1.228 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.807, allocations: 1.25 kB / 1.228 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.807, allocations: 9.281 kB / 1.228 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.807, allocations: 3.984 kB / 1.228 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.8073, allocations: 243.2 kB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.8074, allocations: 98.62 kB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.8074, allocations: 1.312 kB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.8075, allocations: 19.05 kB / 1.228 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.8076, allocations: 19.47 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.8076, allocations: 6.188 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000137/0.8078, allocations: 146.9 kB / 1.228 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8078, allocations: 0 / 1.228 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003355/0.8081, allocations: 51 kB / 1.228 GB, free: 12.2 MB / 0.9356 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.0003801/0.8085, allocations: 170.5 kB / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.8087, allocations: 93.72 kB / 1.229 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8087, allocations: 3.938 kB / 1.229 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.8088, allocations: 43.48 kB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.8092, allocations: 59.14 kB / 1.229 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.8099, allocations: 314 kB / 1.229 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.8103, allocations: 0.7209 MB / 1.23 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.08e-05/0.8104, allocations: 22.55 kB / 1.23 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.8104, allocations: 23.8 kB / 1.23 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.8104, allocations: 0 / 1.23 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.008869/0.8193, allocations: 3.741 MB / 1.233 GB, free: 8.02 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.783342976123095]