Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.00151/0.00151, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.001735/0.001735, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 63.42 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3171, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003127/0.3203, allocations: 1.749 MB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3218, allocations: 0.9123 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.3218, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.322, allocations: 27.73 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.3224, allocations: 119.4 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.3227, allocations: 151.7 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.323, allocations: 243.4 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3231, allocations: 41.55 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3232, allocations: 107.7 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.3349, allocations: 2.032 MB / 1.032 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.335, allocations: 16 kB / 1.032 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3351, allocations: 36 kB / 1.032 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.3352, allocations: 39.89 kB / 1.032 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3353, allocations: 91.56 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.3357, allocations: 219.2 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3357, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3357, allocations: 4 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3357, allocations: 0 / 1.032 GB, free: 12.86 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.0008249/0.3365, allocations: 0.545 MB / 1.033 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3366, allocations: 8.031 kB / 1.033 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.3366, allocations: 24.69 kB / 1.033 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.337, allocations: 252.3 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.337, allocations: 12 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.337, allocations: 15.94 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3372, allocations: 93.64 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3373, allocations: 0 / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3373, allocations: 4 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3373, allocations: 4 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3374, allocations: 53.64 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.3382, allocations: 464.3 kB / 1.034 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.3386, allocations: 138.7 kB / 1.034 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.3387, allocations: 36.86 kB / 1.034 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3387, allocations: 3.984 kB / 1.034 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.3389, allocations: 111.2 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.3389, allocations: 0 / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003316/0.3393, allocations: 168.2 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3393, allocations: 59.34 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.3395, allocations: 198.7 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3396, allocations: 33.7 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.3396, allocations: 120.5 kB / 1.035 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.3397, allocations: 31.55 kB / 1.035 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.3398, allocations: 65.66 kB / 1.035 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3399, allocations: 326.8 kB / 1.035 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.34, allocations: 31.98 kB / 1.035 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3402, allocations: 129.1 kB / 1.035 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3403, allocations: 106.2 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3404, allocations: 4 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002344/0.3406, allocations: 149.3 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3406, allocations: 8 kB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3406, allocations: 0 / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3406, allocations: 3.938 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.3407, allocations: 19.92 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3407, allocations: 4 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3409, allocations: 27.83 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.341, allocations: 8.125 kB / 1.035 GB, free: 9.379 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.0001204/0.3411, allocations: 143.5 kB / 1.036 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3411, allocations: 19.8 kB / 1.036 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.3412, allocations: 17.88 kB / 1.036 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3412, allocations: 4 kB / 1.036 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3412, allocations: 3.938 kB / 1.036 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3412, allocations: 0 / 1.036 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.3419, allocations: 0.4942 MB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3419, allocations: 0 / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.3419, allocations: 4 kB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3419, allocations: 0 / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3419, allocations: 0 / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3419, allocations: 3.938 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.342, allocations: 4 kB / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3422, allocations: 237.9 kB / 1.036 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.3423, allocations: 96.91 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3423, allocations: 0 / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3424, allocations: 23.92 kB / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.3425, allocations: 19.97 kB / 1.036 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.3425, allocations: 4 kB / 1.037 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001164/0.3427, allocations: 142.7 kB / 1.037 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3427, allocations: 0 / 1.037 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003046/0.343, allocations: 44 kB / 1.037 GB, free: 8.039 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.0003364/0.3433, allocations: 181.9 kB / 1.037 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3436, allocations: 103.9 kB / 1.037 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3436, allocations: 0 / 1.037 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.3437, allocations: 51.92 kB / 1.037 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3441, allocations: 61.31 kB / 1.037 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.3446, allocations: 291.5 kB / 1.037 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3449, allocations: 0.7203 MB / 1.038 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.562e-05/0.3449, allocations: 17.55 kB / 1.038 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.345, allocations: 35.42 kB / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.345, allocations: 0 / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of Templates: time 0.007408/0.3524, allocations: 3.716 MB / 1.042 GB, free: 2.891 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches