Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001876, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002471/0.002471, allocations: 193.4 kB / 16.14 MB, free: 6.691 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8953, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003283/0.8986, allocations: 1.881 MB / 0.9507 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.9005, allocations: 0.9482 MB / 0.9517 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.9006, allocations: 6.406 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.9009, allocations: 23.64 kB / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.9013, allocations: 95.11 kB / 0.9518 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.9017, allocations: 144.8 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.9021, allocations: 220.4 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.9023, allocations: 43.17 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.9024, allocations: 103.2 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02608/0.9285, allocations: 1.83 MB / 0.9541 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.9287, allocations: 9.594 kB / 0.9541 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.9288, allocations: 28.39 kB / 0.9541 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.9289, allocations: 36.38 kB / 0.9541 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.9291, allocations: 90.3 kB / 0.9542 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.9294, allocations: 203.1 kB / 0.9544 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9294, allocations: 3.938 kB / 0.9544 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9294, allocations: 1.25 kB / 0.9544 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.9294, allocations: 0 / 0.9544 GB, free: 5.609 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009013/0.9303, allocations: 0.5565 MB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.9304, allocations: 6.969 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.9305, allocations: 20.5 kB / 0.955 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.9308, allocations: 246.6 kB / 0.9552 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.9308, allocations: 10.66 kB / 0.9552 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.9309, allocations: 13.97 kB / 0.9552 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.9311, allocations: 121 kB / 0.9554 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9311, allocations: 0 / 0.9554 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.9311, allocations: 1.219 kB / 0.9554 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.9312, allocations: 2.219 kB / 0.9554 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.9313, allocations: 56.81 kB / 0.9554 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.9322, allocations: 0.5481 MB / 0.956 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.9324, allocations: 98.28 kB / 0.9561 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.9324, allocations: 34.41 kB / 0.9561 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.9325, allocations: 9.391 kB / 0.9561 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.9327, allocations: 119 kB / 0.9562 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.865e-06/0.9327, allocations: 0 / 0.9562 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003793/0.9331, allocations: 165.5 kB / 0.9564 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.9331, allocations: 80.3 kB / 0.9564 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.9334, allocations: 208.4 kB / 0.9566 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.9334, allocations: 33.77 kB / 0.9567 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.9335, allocations: 122.5 kB / 0.9568 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.9335, allocations: 35.92 kB / 0.9568 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.9336, allocations: 57.98 kB / 0.9569 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.9337, allocations: 331.4 kB / 0.9572 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.9338, allocations: 33.8 kB / 0.9572 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.934, allocations: 139.9 kB / 0.9574 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.9342, allocations: 117.3 kB / 0.9575 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9342, allocations: 0 / 0.9575 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002696/0.9344, allocations: 166.1 kB / 0.9576 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.9345, allocations: 9.656 kB / 0.9576 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.9345, allocations: 2.75 kB / 0.9576 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.9345, allocations: 2.75 kB / 0.9576 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.9346, allocations: 16.38 kB / 0.9577 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.9346, allocations: 5.312 kB / 0.9577 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.9349, allocations: 25.66 kB / 0.9577 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.9349, allocations: 9.5 kB / 0.9577 GB, free: 2.676 MB / 0.7169 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.0001165/0.935, allocations: 135.9 kB / 0.9578 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.935, allocations: 25.34 kB / 0.9579 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.9351, allocations: 21.64 kB / 0.9579 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.9351, allocations: 1.375 kB / 0.9579 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.9351, allocations: 1.375 kB / 0.9579 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9351, allocations: 3.938 kB / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.9357, allocations: 464.4 kB / 0.9583 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.9357, allocations: 5.188 kB / 0.9583 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.9357, allocations: 14.75 kB / 0.9583 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9358, allocations: 5.438 kB / 0.9583 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.9358, allocations: 2.125 kB / 0.9583 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.9358, allocations: 9.453 kB / 0.9584 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9358, allocations: 0 / 0.9584 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.936, allocations: 223.8 kB / 0.9586 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.9361, allocations: 97.25 kB / 0.9587 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.9361, allocations: 10.16 kB / 0.9587 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.9362, allocations: 15.2 kB / 0.9587 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.9363, allocations: 19.91 kB / 0.9587 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.9364, allocations: 6.625 kB / 0.9587 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001241/0.9365, allocations: 142.1 kB / 0.9588 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9365, allocations: 0 / 0.9588 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003508/0.9369, allocations: 43.66 kB / 0.9589 GB, free: 1.645 MB / 0.7169 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.0003669/0.9372, allocations: 171.2 kB / 0.9591 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.9375, allocations: 105 kB / 0.9592 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9375, allocations: 1.094 kB / 0.9592 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.9376, allocations: 50.77 kB / 0.9592 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.9381, allocations: 58.05 kB / 0.9593 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006349/0.9388, allocations: 335.2 kB / 0.9596 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.939, allocations: 0.7219 MB / 0.9603 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.9391, allocations: 19.27 kB / 0.9603 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.9392, allocations: 22.67 kB / 0.9603 GB, free: 436 kB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.9392, allocations: 4 kB / 0.9603 GB, free: 432 kB / 0.7169 GB Notification: Performance of Templates: time 0.01025/0.9495, allocations: 3.417 MB / 0.9637 GB, free: 14.71 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches