Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001383/0.001383, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.312/1.312, 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.478/2.478, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 69.27 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002826/0.3032, allocations: 1.739 MB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3046, allocations: 0.9123 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.3047, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.3048, allocations: 31.67 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.3051, allocations: 119.4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.3055, allocations: 151.7 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.3057, allocations: 243.3 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3058, allocations: 41.66 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.306, allocations: 115.6 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009219/0.3152, allocations: 1.654 MB / 1.032 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.3153, allocations: 20 kB / 1.032 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3154, allocations: 39.98 kB / 1.032 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3155, allocations: 43.83 kB / 1.032 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3156, allocations: 95.5 kB / 1.032 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.316, allocations: 219.3 kB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.316, allocations: 0 / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.316, allocations: 0 / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.316, allocations: 0 / 1.032 GB, free: 13.05 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008355/0.3168, allocations: 0.5461 MB / 1.033 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3169, allocations: 12.03 kB / 1.033 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.317, allocations: 16.75 kB / 1.033 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3173, allocations: 255.4 kB / 1.033 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3173, allocations: 12 kB / 1.033 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3173, allocations: 16 kB / 1.033 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.3176, allocations: 107.3 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3176, allocations: 0 / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3176, allocations: 8 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3176, allocations: 0 / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3177, allocations: 55.97 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/0.3186, allocations: 0.5395 MB / 1.034 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3188, allocations: 97.27 kB / 1.034 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.3189, allocations: 45.7 kB / 1.034 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3189, allocations: 0 / 1.034 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.3192, allocations: 133.1 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3192, allocations: 4 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.000362/0.3196, allocations: 161.3 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3196, allocations: 81.11 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.3198, allocations: 199.4 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.3199, allocations: 33.7 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.32, allocations: 124.4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.32, allocations: 35.53 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.3201, allocations: 61.67 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.3202, allocations: 331 kB / 1.035 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.3203, allocations: 31.98 kB / 1.035 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.3205, allocations: 139.4 kB / 1.035 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.3207, allocations: 113.9 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3207, allocations: 0 / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002486/0.3209, allocations: 164.7 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3209, allocations: 8 kB / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.321, allocations: 0 / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.321, allocations: 4 kB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.3211, allocations: 19.92 kB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3211, allocations: 0 / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.3213, allocations: 27.83 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3213, allocations: 12 kB / 1.035 GB, free: 9.383 MB / 0.8106 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.0001221/0.3214, allocations: 143.5 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3215, allocations: 15.81 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.3215, allocations: 25.52 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3215, allocations: 4 kB / 1.035 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3215, allocations: 0 / 1.035 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3215, allocations: 3.938 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.3221, allocations: 470.1 kB / 1.036 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3221, allocations: 0 / 1.036 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.3222, allocations: 12 kB / 1.036 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3222, allocations: 0 / 1.036 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3222, allocations: 4 kB / 1.036 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3222, allocations: 3.938 kB / 1.036 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3222, allocations: 0 / 1.036 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.3224, allocations: 228.1 kB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.3225, allocations: 92.86 kB / 1.036 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3225, allocations: 15.98 kB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3226, allocations: 11.92 kB / 1.036 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3227, allocations: 19.98 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.3227, allocations: 7.984 kB / 1.036 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001197/0.3229, allocations: 146 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3229, allocations: 0 / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003047/0.3232, allocations: 47.91 kB / 1.036 GB, free: 8.059 MB / 0.8106 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.0003144/0.3235, allocations: 169.9 kB / 1.037 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3237, allocations: 106.5 kB / 1.037 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3237, allocations: 0 / 1.037 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.3238, allocations: 51.92 kB / 1.037 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3243, allocations: 60.22 kB / 1.037 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.3248, allocations: 304.7 kB / 1.037 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3251, allocations: 0.7202 MB / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.696e-05/0.3252, allocations: 29.41 kB / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.3253, allocations: 19.44 kB / 1.038 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3253, allocations: 4 kB / 1.038 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of Templates: time 0.007168/0.3324, allocations: 3.661 MB / 1.041 GB, free: 2.953 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches