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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, 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.002746/0.002746, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.4/2.4, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 67.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8284, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.007665/0.8361, allocations: 1.876 MB / 0.9507 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003531/0.8397, allocations: 0.9491 MB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004889/0.8403, allocations: 1.219 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.8408, allocations: 28.38 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000969/0.8419, allocations: 94.56 kB / 0.9518 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.843, allocations: 134.8 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000785/0.8438, allocations: 228.3 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.8442, allocations: 38.16 kB / 0.9522 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.8446, allocations: 106.8 kB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04676/0.8914, allocations: 1.863 MB / 0.9541 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.8916, allocations: 9.344 kB / 0.9541 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.8919, allocations: 23.78 kB / 0.9541 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.892, allocations: 40.58 kB / 0.9542 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.8924, allocations: 87.03 kB / 0.9543 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006021/0.893, allocations: 206.7 kB / 0.9544 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.893, allocations: 4 kB / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.298e-06/0.893, allocations: 0 / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.504e-05/0.893, allocations: 0 / 0.9545 GB, free: 5.605 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.001989/0.895, allocations: 0.5509 MB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.487e-05/0.8951, allocations: 9.375 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.8954, allocations: 20.91 kB / 0.955 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.8959, allocations: 250.4 kB / 0.9553 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.8959, allocations: 5.906 kB / 0.9553 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.896, allocations: 14.22 kB / 0.9553 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.8963, allocations: 90.66 kB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.8963, allocations: 4 kB / 0.9554 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.8964, allocations: 0 / 0.9554 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.8964, allocations: 3.562 kB / 0.9554 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.8966, allocations: 52.81 kB / 0.9554 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.8979, allocations: 463.9 kB / 0.9559 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.8987, allocations: 140.4 kB / 0.956 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.8988, allocations: 42.06 kB / 0.956 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.8989, allocations: 1.375 kB / 0.956 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.8992, allocations: 110.1 kB / 0.9561 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.366e-06/0.8992, allocations: 0 / 0.9561 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006862/0.8999, allocations: 175.8 kB / 0.9563 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.8999, allocations: 53.88 kB / 0.9564 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.9004, allocations: 198.7 kB / 0.9566 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.9005, allocations: 41.77 kB / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.9007, allocations: 121.9 kB / 0.9567 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.9008, allocations: 32.7 kB / 0.9567 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.901, allocations: 56.58 kB / 0.9568 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9011, allocations: 331.2 kB / 0.9571 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.9013, allocations: 34.83 kB / 0.9571 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.9017, allocations: 131.2 kB / 0.9573 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.9021, allocations: 104 kB / 0.9574 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.9021, allocations: 0 / 0.9574 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005467/0.9026, allocations: 159.3 kB / 0.9575 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.9027, allocations: 5.406 kB / 0.9575 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.9027, allocations: 5.078 kB / 0.9575 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.353e-05/0.9028, allocations: 3.156 kB / 0.9575 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.9029, allocations: 15.06 kB / 0.9575 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.9029, allocations: 1.531 kB / 0.9575 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.9033, allocations: 27.77 kB / 0.9576 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.9034, allocations: 9.203 kB / 0.9576 GB, free: 2.887 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.0001917/0.9036, allocations: 145.3 kB / 0.9577 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.9037, allocations: 15.75 kB / 0.9577 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.9038, allocations: 21.14 kB / 0.9578 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.9038, allocations: 2.188 kB / 0.9578 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.9038, allocations: 0 / 0.9578 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9038, allocations: 1.219 kB / 0.9578 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.905, allocations: 0.4891 MB / 0.9582 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.905, allocations: 0 / 0.9582 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.905, allocations: 11.83 kB / 0.9582 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.905, allocations: 1.375 kB / 0.9582 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.9051, allocations: 1.375 kB / 0.9583 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.9051, allocations: 7.922 kB / 0.9583 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9051, allocations: 5.312 kB / 0.9583 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.9055, allocations: 229.2 kB / 0.9585 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.9056, allocations: 96.98 kB / 0.9586 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.9056, allocations: 1.375 kB / 0.9586 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.9059, allocations: 22.72 kB / 0.9586 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.906, allocations: 21.59 kB / 0.9586 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.9061, allocations: 9.5 kB / 0.9586 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002266/0.9063, allocations: 137.5 kB / 0.9588 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9063, allocations: 0 / 0.9588 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006072/0.907, allocations: 56.12 kB / 0.9588 GB, free: 1.836 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.0006203/0.9076, allocations: 163.6 kB / 0.959 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.9081, allocations: 103.1 kB / 0.9591 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9081, allocations: 0 / 0.9591 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.9083, allocations: 57.34 kB / 0.9591 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.909, allocations: 40.75 kB / 0.9592 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.91, allocations: 330.5 kB / 0.9595 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.9105, allocations: 0.7216 MB / 0.9602 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.9107, allocations: 22.61 kB / 0.9602 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.9108, allocations: 32.11 kB / 0.9602 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/0.9108, allocations: 0 / 0.9602 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of Templates: time 0.01625/0.9271, allocations: 3.479 MB / 0.9636 GB, free: 14.89 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (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 & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches