Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.007723/0.007723, allocations: 100.6 kB / 15.87 MB, free: 6.305 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.001705/0.001705, allocations: 194.8 kB / 16.79 MB, free: 6.238 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.466/1.466, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.91 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.7071, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004573/0.7117, allocations: 1.881 MB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.7139, allocations: 0.9436 MB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.7142, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.7145, allocations: 23.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.715, allocations: 91.66 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.7155, allocations: 135.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.7159, allocations: 231.4 kB / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.7161, allocations: 33.66 kB / 1.021 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.7163, allocations: 103.7 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0274/0.7438, allocations: 1.858 MB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.7439, allocations: 12 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.744, allocations: 31.98 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.7441, allocations: 35.83 kB / 1.023 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.7443, allocations: 83.5 kB / 1.023 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.7445, allocations: 151.6 kB / 1.023 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7445, allocations: 0 / 1.023 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.91e-07/0.7446, allocations: 0 / 1.023 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.7446, allocations: 0 / 1.023 GB, free: 13.6 MB / 0.7794 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.0009522/0.7455, allocations: 0.5489 MB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.7456, allocations: 8.031 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.7457, allocations: 20.75 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.746, allocations: 251.4 kB / 1.024 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.746, allocations: 12 kB / 1.024 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.7461, allocations: 12 kB / 1.024 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.7463, allocations: 97.64 kB / 1.024 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7463, allocations: 3.984 kB / 1.024 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.7463, allocations: 0 / 1.024 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.7463, allocations: 4 kB / 1.024 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.7465, allocations: 51.97 kB / 1.024 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.7473, allocations: 464.3 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.7478, allocations: 138.7 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.7478, allocations: 32.86 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.7479, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.7481, allocations: 127.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.7481, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003712/0.7485, allocations: 164.7 kB / 1.025 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.7485, allocations: 59.41 kB / 1.025 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.7487, allocations: 202.5 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.7488, allocations: 33.7 kB / 1.025 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.7489, allocations: 120.4 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.7489, allocations: 35.61 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/0.749, allocations: 57.66 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7492, allocations: 330.8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.7492, allocations: 35.98 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.7495, allocations: 131.6 kB / 1.026 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.7497, allocations: 99.03 kB / 1.026 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7497, allocations: 7.938 kB / 1.026 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002666/0.7499, allocations: 149.3 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.75, allocations: 8 kB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.75, allocations: 0 / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.75, allocations: 4 kB / 1.026 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.7501, allocations: 15.94 kB / 1.026 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.7501, allocations: 7.984 kB / 1.026 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.7503, allocations: 31.89 kB / 1.026 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.7503, allocations: 8 kB / 1.026 GB, free: 10.1 MB / 0.7794 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.0001344/0.7505, allocations: 140 kB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.7505, allocations: 15.81 kB / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.7506, allocations: 25.86 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7506, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.7506, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7506, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.7513, allocations: 0.4903 MB / 1.027 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7513, allocations: 0 / 1.027 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.7513, allocations: 4.047 kB / 1.027 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.7513, allocations: 3.984 kB / 1.027 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.7514, allocations: 8 kB / 1.027 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.7514, allocations: 7.922 kB / 1.027 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7514, allocations: 0 / 1.027 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.7516, allocations: 235.2 kB / 1.027 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.7517, allocations: 96.84 kB / 1.027 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.7517, allocations: 4 kB / 1.027 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.7519, allocations: 15.92 kB / 1.027 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.752, allocations: 19.97 kB / 1.027 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.752, allocations: 8 kB / 1.027 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001242/0.7521, allocations: 139.2 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7521, allocations: 7.938 kB / 1.027 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000317/0.7525, allocations: 43.98 kB / 1.027 GB, free: 8.758 MB / 0.7794 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.0004036/0.7529, allocations: 164.6 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.7531, allocations: 106.6 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7531, allocations: 0 / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.7532, allocations: 55.91 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.7537, allocations: 61.47 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.7543, allocations: 353.3 kB / 1.028 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.7546, allocations: 0.7321 MB / 1.029 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.7547, allocations: 23.42 kB / 1.029 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7547, allocations: 4 kB / 1.029 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.005843/0.7606, allocations: 3.186 MB / 1.032 GB, free: 4.066 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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