Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 108 kB / 15.6 MB, free: 132 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.001191/0.001191, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.326/2.326, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6464, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003171/0.6496, allocations: 1.726 MB / 0.9514 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.651, allocations: 0.898 MB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.6511, allocations: 5.312 kB / 0.9523 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.6513, allocations: 36.95 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.6516, allocations: 113.2 kB / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.6519, allocations: 158.2 kB / 0.9526 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.6522, allocations: 235.7 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.6523, allocations: 38.27 kB / 0.9528 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.6524, allocations: 112.1 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.6639, allocations: 2.018 MB / 0.9549 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.6641, allocations: 18.62 kB / 0.9549 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.6643, allocations: 43.11 kB / 0.955 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.6644, allocations: 39.55 kB / 0.955 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.6645, allocations: 87.23 kB / 0.9551 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.6649, allocations: 212.4 kB / 0.9553 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6649, allocations: 1.219 kB / 0.9553 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6649, allocations: 0 / 0.9553 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.665, allocations: 0 / 0.9553 GB, free: 5.598 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.0007973/0.6658, allocations: 0.5582 MB / 0.9558 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6658, allocations: 9.875 kB / 0.9558 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.6658, allocations: 41.48 kB / 0.9559 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.6659, allocations: 23.47 kB / 0.9559 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.6663, allocations: 247.1 kB / 0.9561 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.6663, allocations: 9.812 kB / 0.9562 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.6663, allocations: 17.94 kB / 0.9562 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.6666, allocations: 89.5 kB / 0.9563 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.6666, allocations: 3.984 kB / 0.9563 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.6666, allocations: 1.781 kB / 0.9563 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6666, allocations: 1.125 kB / 0.9563 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.6668, allocations: 52.91 kB / 0.9563 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.6675, allocations: 465.1 kB / 0.9568 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.6679, allocations: 141.1 kB / 0.9569 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.668, allocations: 38.89 kB / 0.9569 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.668, allocations: 0 / 0.9569 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.6682, allocations: 111.9 kB / 0.957 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.6682, allocations: 3.938 kB / 0.957 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003246/0.6685, allocations: 168.3 kB / 0.9572 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.6686, allocations: 58.16 kB / 0.9573 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.6687, allocations: 198.7 kB / 0.9574 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.6688, allocations: 33.83 kB / 0.9575 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.6688, allocations: 124.6 kB / 0.9576 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.6689, allocations: 37.09 kB / 0.9576 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.669, allocations: 53.06 kB / 0.9577 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.669, allocations: 330.9 kB / 0.958 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.6691, allocations: 35.23 kB / 0.958 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.6693, allocations: 128.2 kB / 0.9582 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.6694, allocations: 99.94 kB / 0.9582 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6694, allocations: 1.031 kB / 0.9583 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002245/0.6697, allocations: 159.1 kB / 0.9584 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6697, allocations: 5.719 kB / 0.9584 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6697, allocations: 1.125 kB / 0.9584 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6697, allocations: 1.656 kB / 0.9584 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.6698, allocations: 15.78 kB / 0.9584 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6698, allocations: 5.984 kB / 0.9584 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.67, allocations: 31.61 kB / 0.9585 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.67, allocations: 5.469 kB / 0.9585 GB, free: 2.824 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.0001045/0.6701, allocations: 144.7 kB / 0.9586 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.6702, allocations: 15.25 kB / 0.9586 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.6702, allocations: 22.3 kB / 0.9586 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6702, allocations: 2 kB / 0.9586 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6702, allocations: 0 / 0.9586 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.6703, allocations: 1.094 kB / 0.9586 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.6708, allocations: 0.4919 MB / 0.9591 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6708, allocations: 1.125 kB / 0.9591 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.6709, allocations: 7.312 kB / 0.9591 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6709, allocations: 1.125 kB / 0.9591 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.6709, allocations: 5.031 kB / 0.9591 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6709, allocations: 1.062 kB / 0.9591 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6709, allocations: 4 kB / 0.9591 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.6711, allocations: 227.5 kB / 0.9594 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.6711, allocations: 93.3 kB / 0.9594 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.6712, allocations: 12.92 kB / 0.9595 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6713, allocations: 10.95 kB / 0.9595 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.6714, allocations: 24.84 kB / 0.9595 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.6714, allocations: 13.47 kB / 0.9595 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.772e-05/0.6715, allocations: 142.3 kB / 0.9596 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6715, allocations: 3.938 kB / 0.9596 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003061/0.6718, allocations: 51.47 kB / 0.9597 GB, free: 1.773 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.0007967/0.6726, allocations: 0.8205 MB / 0.9605 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.6729, allocations: 121 kB / 0.9606 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6729, allocations: 0 / 0.9606 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.673, allocations: 52.7 kB / 0.9607 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.6734, allocations: 60.08 kB / 0.9607 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.6753, allocations: 1.876 MB / 0.9626 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.6755, allocations: 0.7333 MB / 0.9633 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.428e-05/0.6756, allocations: 18.08 kB / 0.9633 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.6757, allocations: 56.47 kB / 0.9633 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.6757, allocations: 0 / 0.9633 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.701, allocations: 5.533 MB / 0.9687 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/8.167, allocations: 11.58 kB / 0.9688 GB, free: 11.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches