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.001395/0.001396, allocations: 106 kB / 16.41 MB, free: 6.406 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.001352/0.001352, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.09 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.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9653/0.9669, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003299/0.9702, allocations: 1.743 MB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.9719, allocations: 0.8944 MB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.972, allocations: 1.156 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.9722, allocations: 27.02 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.9727, allocations: 121.9 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.9732, allocations: 151.3 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.9735, allocations: 241.8 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.9737, allocations: 40.3 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.9739, allocations: 108.2 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.9856, allocations: 1.998 MB / 1.094 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.9858, allocations: 17.78 kB / 1.094 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.986, allocations: 37.45 kB / 1.094 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.9861, allocations: 49.41 kB / 1.094 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.9864, allocations: 87.77 kB / 1.094 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.987, allocations: 215.9 kB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.987, allocations: 0 / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.765e-05/0.987, allocations: 1.328 kB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.987, allocations: 0 / 1.094 GB, free: 2.652 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001046/0.9881, allocations: 0.5531 MB / 1.095 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.9881, allocations: 9.594 kB / 1.095 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.9883, allocations: 24.55 kB / 1.095 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.9886, allocations: 245.5 kB / 1.095 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.9886, allocations: 11.14 kB / 1.095 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.9887, allocations: 14.78 kB / 1.095 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.9889, allocations: 110.8 kB / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9889, allocations: 0 / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.989, allocations: 2.766 kB / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.989, allocations: 9.812 kB / 1.095 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.9891, allocations: 53.73 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.9901, allocations: 0.5421 MB / 1.096 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.9903, allocations: 96.33 kB / 1.096 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.9904, allocations: 45.03 kB / 1.096 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.9904, allocations: 2.281 kB / 1.096 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.9906, allocations: 135.5 kB / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.9906, allocations: 0 / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004128/0.991, allocations: 161.2 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.9911, allocations: 80.08 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.9913, allocations: 211 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.9914, allocations: 33.94 kB / 1.096 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.9915, allocations: 123.2 kB / 1.097 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.9915, allocations: 43.47 kB / 1.097 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.9916, allocations: 59.56 kB / 1.097 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.9917, allocations: 328.6 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.9918, allocations: 34.12 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.992, allocations: 138.9 kB / 1.097 GB, free: 200 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.9922, allocations: 106.8 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9922, allocations: 4.719 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003009/0.9925, allocations: 161.6 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9925, allocations: 9.188 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9926, allocations: 6.406 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.9926, allocations: 2.438 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.9927, allocations: 22.2 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.9927, allocations: 7.406 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.993, allocations: 24.67 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.993, allocations: 15 kB / 1.097 GB, free: 15.99 MB / 0.8731 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.0001575/0.9932, allocations: 139.2 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.9932, allocations: 16.52 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.9933, allocations: 23.8 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9933, allocations: 2.062 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9933, allocations: 1.906 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9933, allocations: 0.5156 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.994, allocations: 464.5 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9941, allocations: 0 / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.9941, allocations: 4.469 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.9941, allocations: 1.75 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.9941, allocations: 2.156 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.9941, allocations: 6.312 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9941, allocations: 0 / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.9944, allocations: 242.6 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.9945, allocations: 90.33 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.9945, allocations: 7.531 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.9947, allocations: 15.16 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.9948, allocations: 18.62 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.9948, allocations: 11.59 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001629/0.995, allocations: 142.7 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/0.995, allocations: 0 / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003866/0.9954, allocations: 60.8 kB / 1.099 GB, free: 15.05 MB / 0.8731 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.0003867/0.9958, allocations: 163.8 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.996, allocations: 107.3 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.996, allocations: 0 / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.9962, allocations: 48.38 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.9966, allocations: 62.09 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.9973, allocations: 313.3 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.9977, allocations: 0.7241 MB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.9977, allocations: 26.97 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.9977, allocations: 0 / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.009074/1.007, allocations: 3.219 MB / 1.103 GB, free: 13.58 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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