Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001713/0.001713, allocations: 101.6 kB / 16.35 MB, free: 5.875 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.002/0.002, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.437/2.437, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 60 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3183, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003011/0.3213, allocations: 1.749 MB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3228, allocations: 0.9044 MB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.3229, allocations: 8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.3231, allocations: 27.72 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3234, allocations: 119.4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3238, allocations: 155.6 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.324, allocations: 239.3 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3242, allocations: 33.67 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3243, allocations: 111.7 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.3344, allocations: 1.696 MB / 1.032 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.3345, allocations: 20 kB / 1.032 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3346, allocations: 40 kB / 1.032 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.3347, allocations: 43.83 kB / 1.032 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3349, allocations: 91.5 kB / 1.032 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.3352, allocations: 211.4 kB / 1.032 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3352, allocations: 0 / 1.032 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3352, allocations: 4 kB / 1.032 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3352, allocations: 0 / 1.032 GB, free: 13.06 MB / 0.8106 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.0008478/0.3361, allocations: 0.5527 MB / 1.033 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3361, allocations: 8.031 kB / 1.033 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.3362, allocations: 20.75 kB / 1.033 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.3366, allocations: 251.4 kB / 1.033 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3366, allocations: 8 kB / 1.033 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.3366, allocations: 12 kB / 1.033 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3368, allocations: 98.95 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.3369, allocations: 0 / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3369, allocations: 4 kB / 1.033 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3369, allocations: 4 kB / 1.033 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.337, allocations: 59.91 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.3378, allocations: 464.3 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.3382, allocations: 130.7 kB / 1.034 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.3383, allocations: 36.86 kB / 1.034 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3383, allocations: 11.91 kB / 1.034 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.3386, allocations: 114.2 kB / 1.034 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.3386, allocations: 0 / 1.034 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003646/0.339, allocations: 161.5 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.339, allocations: 55.34 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3393, allocations: 203.3 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3393, allocations: 25.7 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3394, allocations: 128.4 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3395, allocations: 35.53 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3396, allocations: 61.67 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3397, allocations: 330.8 kB / 1.035 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.3398, allocations: 31.98 kB / 1.035 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3401, allocations: 128.7 kB / 1.035 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3402, allocations: 102.2 kB / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3402, allocations: 3.938 kB / 1.035 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002508/0.3405, allocations: 155.6 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3405, allocations: 4 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3405, allocations: 4 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3405, allocations: 4.125 kB / 1.035 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.3406, allocations: 19.92 kB / 1.035 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3406, allocations: 4 kB / 1.035 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3409, allocations: 27.83 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3409, allocations: 4 kB / 1.035 GB, free: 9.578 MB / 0.8106 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.0001293/0.341, allocations: 135.5 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.341, allocations: 19.8 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.3411, allocations: 17.88 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3411, allocations: 11.94 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3411, allocations: 0 / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3411, allocations: 4 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.3418, allocations: 0.4903 MB / 1.036 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3418, allocations: 0 / 1.036 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.3418, allocations: 0 / 1.036 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3419, allocations: 4 kB / 1.036 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3419, allocations: 4 kB / 1.036 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3419, allocations: 3.938 kB / 1.036 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3419, allocations: 0 / 1.036 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3421, allocations: 238 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3422, allocations: 96.84 kB / 1.036 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3422, allocations: 4 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3424, allocations: 15.92 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.3425, allocations: 27.97 kB / 1.036 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3425, allocations: 4.047 kB / 1.036 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001257/0.3426, allocations: 146 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3426, allocations: 0 / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003203/0.343, allocations: 36 kB / 1.036 GB, free: 8.242 MB / 0.8106 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.00037/0.3433, allocations: 171.4 kB / 1.037 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3436, allocations: 103.8 kB / 1.037 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.3436, allocations: 0 / 1.037 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/0.3437, allocations: 60.17 kB / 1.037 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3441, allocations: 59.69 kB / 1.037 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.3447, allocations: 307.2 kB / 1.037 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3451, allocations: 0.7281 MB / 1.038 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.402e-05/0.3451, allocations: 21.53 kB / 1.038 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.3452, allocations: 27.42 kB / 1.038 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3452, allocations: 0 / 1.038 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.007769/0.353, allocations: 3.721 MB / 1.041 GB, free: 3.066 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches