Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 199.4 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001507, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6739, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00345/0.6774, allocations: 1.885 MB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.679, allocations: 0.9477 MB / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.6792, allocations: 5.312 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.6795, allocations: 19.89 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.6799, allocations: 91.41 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.6803, allocations: 142.1 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.6806, allocations: 229.2 kB / 0.9528 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.6808, allocations: 37.03 kB / 0.9528 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.681, allocations: 103.4 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02303/0.704, allocations: 1.562 MB / 0.9545 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.7041, allocations: 10.75 kB / 0.9545 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.7043, allocations: 35.17 kB / 0.9545 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.7044, allocations: 32.41 kB / 0.9545 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.7046, allocations: 90.52 kB / 0.9546 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.7049, allocations: 148 kB / 0.9548 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7049, allocations: 3.984 kB / 0.9548 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7049, allocations: 1.094 kB / 0.9548 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.7049, allocations: 0 / 0.9548 GB, free: 5.809 MB / 0.7169 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.0008881/0.7058, allocations: 0.5425 MB / 0.9553 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7058, allocations: 9.281 kB / 0.9553 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.7059, allocations: 27.73 kB / 0.9553 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.7062, allocations: 249.8 kB / 0.9556 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7063, allocations: 11.19 kB / 0.9556 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.7063, allocations: 14.22 kB / 0.9556 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.7065, allocations: 86.39 kB / 0.9557 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.7065, allocations: 0 / 0.9557 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.7065, allocations: 5.125 kB / 0.9557 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7066, allocations: 2.312 kB / 0.9557 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.7067, allocations: 55.56 kB / 0.9557 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.7075, allocations: 462.2 kB / 0.9562 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.7079, allocations: 140.9 kB / 0.9563 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.1e-05/0.708, allocations: 34.84 kB / 0.9563 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.708, allocations: 1.219 kB / 0.9563 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.7082, allocations: 119.7 kB / 0.9565 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.7082, allocations: 0 / 0.9565 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.000363/0.7086, allocations: 175 kB / 0.9566 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7086, allocations: 54.31 kB / 0.9567 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.7088, allocations: 204 kB / 0.9569 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.7089, allocations: 32.86 kB / 0.9569 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.7089, allocations: 121.9 kB / 0.957 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.709, allocations: 25.28 kB / 0.957 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.7091, allocations: 68.12 kB / 0.9571 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.7091, allocations: 332.1 kB / 0.9574 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.7092, allocations: 30.3 kB / 0.9575 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.7094, allocations: 134.8 kB / 0.9576 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.7096, allocations: 100.9 kB / 0.9577 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7096, allocations: 0 / 0.9577 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002461/0.7098, allocations: 150.9 kB / 0.9578 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7099, allocations: 5.5 kB / 0.9578 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.7099, allocations: 9.422 kB / 0.9578 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7099, allocations: 6.75 kB / 0.9578 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.71, allocations: 15 kB / 0.9579 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.71, allocations: 2.75 kB / 0.9579 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.7102, allocations: 28.2 kB / 0.9579 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.7102, allocations: 8.125 kB / 0.9579 GB, free: 3.094 MB / 0.7169 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.000112/0.7103, allocations: 141.2 kB / 0.958 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.7104, allocations: 16.06 kB / 0.958 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.7104, allocations: 32.55 kB / 0.9581 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7104, allocations: 6.781 kB / 0.9581 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7105, allocations: 0 / 0.9581 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7105, allocations: 0 / 0.9581 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.7111, allocations: 493.5 kB / 0.9586 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7111, allocations: 0 / 0.9586 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.7111, allocations: 12.2 kB / 0.9586 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7111, allocations: 4 kB / 0.9586 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7112, allocations: 5.75 kB / 0.9586 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7112, allocations: 5.75 kB / 0.9586 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7112, allocations: 0 / 0.9586 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.7114, allocations: 222.4 kB / 0.9588 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.7114, allocations: 93.23 kB / 0.9589 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.7115, allocations: 1.281 kB / 0.9589 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.7116, allocations: 27.47 kB / 0.9589 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.7117, allocations: 20.81 kB / 0.9589 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.7117, allocations: 5.188 kB / 0.9589 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001163/0.7118, allocations: 141.3 kB / 0.9591 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7118, allocations: 0 / 0.9591 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003383/0.7122, allocations: 48.09 kB / 0.9591 GB, free: 2.051 MB / 0.7169 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.0003481/0.7125, allocations: 168.2 kB / 0.9593 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.7128, allocations: 106.5 kB / 0.9594 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7128, allocations: 1.094 kB / 0.9594 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.7129, allocations: 59.95 kB / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.7134, allocations: 45.34 kB / 0.9595 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.7141, allocations: 382.8 kB / 0.9598 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.7143, allocations: 0.725 MB / 0.9605 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.7143, allocations: 20.5 kB / 0.9606 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.7143, allocations: 0 / 0.9606 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of Templates: time 0.007063/0.7214, allocations: 3.211 MB / 0.9637 GB, free: 15.14 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches