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.001162/0.001162, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.00105/0.00105, allocations: 187 kB / 17.34 MB, free: 5.762 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.298/2.298, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.89 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003024/1.038, allocations: 1.728 MB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001513/1.039, allocations: 0.9013 MB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/1.039, allocations: 5.312 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/1.04, allocations: 25.8 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004167/1.04, allocations: 126 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/1.04, allocations: 153.3 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/1.041, allocations: 246.8 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/1.041, allocations: 37.83 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/1.041, allocations: 112.5 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/1.053, allocations: 2.02 MB / 1.094 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/1.054, allocations: 22.16 kB / 1.094 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/1.054, allocations: 41.44 kB / 1.094 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/1.054, allocations: 37.58 kB / 1.094 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/1.054, allocations: 95.83 kB / 1.094 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005884/1.055, allocations: 212.1 kB / 1.094 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.055, allocations: 0.6562 kB / 1.094 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/1.055, allocations: 0 / 1.094 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.055, allocations: 1.703 kB / 1.094 GB, free: 2.68 MB / 0.8575 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.001037/1.056, allocations: 0.556 MB / 1.095 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.056, allocations: 9.656 kB / 1.095 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/1.056, allocations: 20.23 kB / 1.095 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/1.056, allocations: 244.9 kB / 1.095 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.056, allocations: 10.89 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/1.056, allocations: 15.36 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/1.057, allocations: 90.08 kB / 1.095 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.057, allocations: 11.92 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.057, allocations: 1.547 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.057, allocations: 2.5 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/1.057, allocations: 56.41 kB / 1.095 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/1.058, allocations: 469.3 kB / 1.096 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/1.058, allocations: 132.4 kB / 1.096 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/1.058, allocations: 33.08 kB / 1.096 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/1.058, allocations: 1.594 kB / 1.096 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/1.059, allocations: 120.3 kB / 1.096 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/1.059, allocations: 1.562 kB / 1.096 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004252/1.059, allocations: 159.2 kB / 1.096 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.059, allocations: 59.33 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/1.059, allocations: 200.9 kB / 1.096 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/1.059, allocations: 33.73 kB / 1.096 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/1.06, allocations: 126.2 kB / 1.096 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/1.06, allocations: 36.5 kB / 1.097 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.06, allocations: 59.14 kB / 1.097 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/1.06, allocations: 329 kB / 1.097 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/1.06, allocations: 34.39 kB / 1.097 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/1.06, allocations: 133.7 kB / 1.097 GB, free: 436 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/1.06, allocations: 94.83 kB / 1.097 GB, free: 368 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/1.06, allocations: 1.062 kB / 1.097 GB, free: 368 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003026/1.061, allocations: 158.3 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.061, allocations: 9.312 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.061, allocations: 2.516 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.061, allocations: 2 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/1.061, allocations: 18.73 kB / 1.097 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.061, allocations: 5.484 kB / 1.097 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/1.061, allocations: 24.89 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/1.061, allocations: 9.141 kB / 1.097 GB, free: 260 kB / 0.8575 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.0001292/1.061, allocations: 139.2 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/1.061, allocations: 19.88 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/1.061, allocations: 19.67 kB / 1.098 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.061, allocations: 2.531 kB / 1.098 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.061, allocations: 4 kB / 1.098 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.061, allocations: 2.5 kB / 1.098 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/1.062, allocations: 497.7 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.062, allocations: 4 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/1.062, allocations: 9.359 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.062, allocations: 1 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.062, allocations: 6.234 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.062, allocations: 5.062 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.062, allocations: 3.984 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/1.063, allocations: 225.7 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/1.063, allocations: 94.81 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/1.063, allocations: 10.64 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.063, allocations: 14.69 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/1.063, allocations: 20.81 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/1.063, allocations: 10.66 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001435/1.063, allocations: 146 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.063, allocations: 0 / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003608/1.063, allocations: 49.98 kB / 1.099 GB, free: 15.3 MB / 0.8731 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.0004014/1.064, allocations: 159.9 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002777/1.064, allocations: 108 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.064, allocations: 0 / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/1.064, allocations: 53.91 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/1.065, allocations: 52.19 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/1.065, allocations: 318.6 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/1.066, allocations: 0.7311 MB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/1.066, allocations: 23.64 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.066, allocations: 0 / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.009206/1.075, allocations: 3.223 MB / 1.103 GB, free: 13.84 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time