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.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.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.001412/0.001412, allocations: 108 kB / 15.61 MB, free: 152 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.00143/0.00143, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.441/2.441, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8507/0.852, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003953/0.856, allocations: 1.722 MB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.8578, allocations: 0.8972 MB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.858, allocations: 5.25 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.8583, allocations: 33.98 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.8588, allocations: 118 kB / 0.9523 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.8592, allocations: 150 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.8595, allocations: 246.9 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.8596, allocations: 35.28 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.8598, allocations: 120.6 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009712/0.8695, allocations: 1.685 MB / 0.9545 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.8696, allocations: 18.75 kB / 0.9545 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.8698, allocations: 35.16 kB / 0.9545 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.8699, allocations: 40.14 kB / 0.9545 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.87, allocations: 93.69 kB / 0.9546 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.8705, allocations: 214.4 kB / 0.9548 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8705, allocations: 4 kB / 0.9548 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8705, allocations: 0 / 0.9548 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.8705, allocations: 0 / 0.9548 GB, free: 5.672 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.0009214/0.8715, allocations: 0.5505 MB / 0.9554 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.8715, allocations: 9.5 kB / 0.9554 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.8717, allocations: 26.69 kB / 0.9554 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.872, allocations: 253.9 kB / 0.9557 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.872, allocations: 7.844 kB / 0.9557 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.872, allocations: 14.56 kB / 0.9557 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.8722, allocations: 87.53 kB / 0.9558 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.8723, allocations: 1.031 kB / 0.9558 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.8723, allocations: 4.891 kB / 0.9558 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.8723, allocations: 2.156 kB / 0.9558 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.8724, allocations: 52.19 kB / 0.9558 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.8732, allocations: 470.1 kB / 0.9563 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.8737, allocations: 136.4 kB / 0.9564 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.8738, allocations: 38.69 kB / 0.9564 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.8738, allocations: 1.156 kB / 0.9564 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.8741, allocations: 116 kB / 0.9565 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.8741, allocations: 4 kB / 0.9565 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.000397/0.8745, allocations: 171 kB / 0.9567 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.8745, allocations: 53.75 kB / 0.9568 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.8747, allocations: 200.1 kB / 0.957 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.8748, allocations: 33.27 kB / 0.957 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.8749, allocations: 122.2 kB / 0.9571 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.8749, allocations: 40.44 kB / 0.9571 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.875, allocations: 53.56 kB / 0.9572 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.8751, allocations: 333.9 kB / 0.9575 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.8752, allocations: 36.05 kB / 0.9575 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.8754, allocations: 124.2 kB / 0.9577 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.8756, allocations: 101.1 kB / 0.9578 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.8756, allocations: 1.375 kB / 0.9578 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000286/0.8759, allocations: 156 kB / 0.9579 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8759, allocations: 5.531 kB / 0.9579 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8759, allocations: 1.031 kB / 0.9579 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.8759, allocations: 2.25 kB / 0.9579 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.876, allocations: 20.69 kB / 0.9579 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.876, allocations: 1.938 kB / 0.9579 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.8763, allocations: 31.06 kB / 0.958 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.8763, allocations: 5.531 kB / 0.958 GB, free: 2.949 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.0001241/0.8764, allocations: 141 kB / 0.9581 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.8765, allocations: 16.06 kB / 0.9581 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.8765, allocations: 20.61 kB / 0.9581 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8765, allocations: 6.75 kB / 0.9581 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.8765, allocations: 3.938 kB / 0.9582 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8766, allocations: 0 / 0.9582 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.8772, allocations: 497.4 kB / 0.9586 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8772, allocations: 0 / 0.9586 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.8772, allocations: 8.125 kB / 0.9586 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8772, allocations: 1.375 kB / 0.9586 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.8773, allocations: 5.375 kB / 0.9586 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8773, allocations: 3.938 kB / 0.9586 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8773, allocations: 1.375 kB / 0.9586 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.8775, allocations: 226.5 kB / 0.9589 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.8776, allocations: 92.83 kB / 0.959 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.8776, allocations: 9.297 kB / 0.959 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.8777, allocations: 18.92 kB / 0.959 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.8778, allocations: 24.81 kB / 0.959 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.8779, allocations: 13.75 kB / 0.959 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001211/0.878, allocations: 136.8 kB / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.878, allocations: 0 / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003565/0.8784, allocations: 47.41 kB / 0.9592 GB, free: 1.906 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.0003816/0.8788, allocations: 168.1 kB / 0.9594 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.8791, allocations: 105.4 kB / 0.9595 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8791, allocations: 8.188 kB / 0.9595 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.8792, allocations: 52.89 kB / 0.9595 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.8797, allocations: 68.45 kB / 0.9596 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.8804, allocations: 310.6 kB / 0.9599 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.8807, allocations: 0.7252 MB / 0.9606 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.8808, allocations: 19.05 kB / 0.9606 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.8809, allocations: 27.39 kB / 0.9606 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.8809, allocations: 1.156 kB / 0.9606 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of Templates: time 0.01088/0.8918, allocations: 3.716 MB / 0.9643 GB, free: 14.85 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches