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.001241/0.001241, allocations: 103 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.001321/0.001321, allocations: 198.3 kB / 17.3 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.256/1.256, 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 11.0.0-master/package.mo): time 2.379/2.379, allocations: 442.5 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 58.78 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2781, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00277/0.2809, allocations: 1.755 MB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2822, allocations: 0.9045 MB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.2823, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.2825, allocations: 31.67 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.2828, allocations: 115.4 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2831, allocations: 151.7 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.2834, allocations: 247.3 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2835, allocations: 33.67 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2836, allocations: 107.7 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.2951, allocations: 2.033 MB / 1.032 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.2952, allocations: 16 kB / 1.032 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2953, allocations: 36 kB / 1.032 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.2954, allocations: 43.88 kB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.2955, allocations: 91.52 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.2959, allocations: 219.3 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2959, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2959, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.2959, allocations: 0 / 1.032 GB, free: 12.82 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.0008563/0.2968, allocations: 0.545 MB / 1.033 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2968, allocations: 12.03 kB / 1.033 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.2969, allocations: 20.75 kB / 1.033 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2973, allocations: 251.4 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2973, allocations: 15.94 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.2973, allocations: 8 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.2975, allocations: 93.64 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2975, allocations: 0 / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2975, allocations: 4 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2976, allocations: 4 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.2977, allocations: 61.23 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.2984, allocations: 460.4 kB / 1.034 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.2988, allocations: 146.7 kB / 1.034 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.2989, allocations: 32.86 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.299, allocations: 7.922 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.2992, allocations: 111.2 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 3.317e-06/0.2992, allocations: 0 / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003469/0.2996, allocations: 164.1 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.2996, allocations: 63.34 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.2998, allocations: 194.7 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.2999, allocations: 33.7 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.3, allocations: 120.5 kB / 1.035 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3, allocations: 39.53 kB / 1.035 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.3001, allocations: 57.67 kB / 1.035 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3002, allocations: 326.8 kB / 1.035 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.3003, allocations: 35.98 kB / 1.035 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3005, allocations: 129.6 kB / 1.035 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3007, allocations: 104.2 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3007, allocations: 0 / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002321/0.3009, allocations: 151.2 kB / 1.035 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.301, allocations: 8 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.301, allocations: 7.875 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.301, allocations: 4 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.3011, allocations: 15.98 kB / 1.035 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3011, allocations: 128 / 1.035 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.3013, allocations: 31.83 kB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3013, allocations: 4 kB / 1.035 GB, free: 9.336 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.0001294/0.3014, allocations: 143.5 kB / 1.036 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3015, allocations: 19.8 kB / 1.036 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.3015, allocations: 17.88 kB / 1.036 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3015, allocations: 0 / 1.036 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3015, allocations: 0 / 1.036 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3015, allocations: 4 kB / 1.036 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.3021, allocations: 0.4903 MB / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3022, allocations: 0 / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.3022, allocations: 7.938 kB / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3022, allocations: 0 / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3022, allocations: 0 / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3022, allocations: 7.938 kB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3022, allocations: 3.984 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.3024, allocations: 230.5 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.3025, allocations: 96.91 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3025, allocations: 4 kB / 1.036 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3026, allocations: 19.92 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.696e-05/0.3027, allocations: 19.97 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3028, allocations: 11.94 kB / 1.036 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001882/0.3029, allocations: 146.7 kB / 1.037 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.303, allocations: 0 / 1.037 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002898/0.3032, allocations: 40 kB / 1.037 GB, free: 7.996 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.000352/0.3036, allocations: 176.5 kB / 1.037 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3038, allocations: 102.8 kB / 1.037 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3039, allocations: 0 / 1.037 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.304, allocations: 51.92 kB / 1.037 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.3044, allocations: 66.31 kB / 1.037 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.3049, allocations: 287.2 kB / 1.037 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.3052, allocations: 0.7203 MB / 1.038 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3053, allocations: 29.53 kB / 1.038 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.3053, allocations: 23.44 kB / 1.038 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3053, allocations: 0 / 1.038 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.008119/0.3135, allocations: 3.722 MB / 1.042 GB, free: 2.848 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 cvode -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