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.001182/0.001182, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.00134/0.00134, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.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.471/2.471, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 64.58 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.307, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003982/0.311, allocations: 1.747 MB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3129, allocations: 0.9122 MB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.313, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.3133, allocations: 23.73 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.3137, allocations: 123.4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.3141, allocations: 147.7 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.3144, allocations: 247.3 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3146, allocations: 41.66 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.3147, allocations: 107.7 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.325, allocations: 1.677 MB / 1.032 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3251, allocations: 20 kB / 1.032 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3253, allocations: 36 kB / 1.032 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.3254, allocations: 35.91 kB / 1.032 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3256, allocations: 99.48 kB / 1.032 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.326, allocations: 215.3 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3261, allocations: 0 / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3261, allocations: 0 / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.3261, allocations: 0 / 1.032 GB, free: 13.08 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.0009978/0.3271, allocations: 0.5578 MB / 1.033 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3271, allocations: 8.031 kB / 1.033 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.3272, allocations: 20.75 kB / 1.033 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.3276, allocations: 247.4 kB / 1.033 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3276, allocations: 8 kB / 1.033 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.3276, allocations: 12 kB / 1.033 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3279, allocations: 111.4 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3279, allocations: 4 kB / 1.033 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.3279, allocations: 4 kB / 1.033 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3279, allocations: 4 kB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3281, allocations: 51.91 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.329, allocations: 0.5434 MB / 1.034 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3292, allocations: 97.12 kB / 1.034 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.3292, allocations: 45.91 kB / 1.034 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3293, allocations: 3.984 kB / 1.034 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3295, allocations: 121.1 kB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3295, allocations: 0 / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003855/0.3299, allocations: 169.3 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.33, allocations: 81.09 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3302, allocations: 195.4 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.3302, allocations: 33.7 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.3303, allocations: 128.5 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.3304, allocations: 35.55 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.3305, allocations: 61.61 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3306, allocations: 326.8 kB / 1.035 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.3307, allocations: 35.92 kB / 1.035 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3309, allocations: 141.3 kB / 1.035 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3311, allocations: 113.9 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3311, allocations: 0 / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002688/0.3314, allocations: 165 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3314, allocations: 7.984 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3314, allocations: 0 / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3314, allocations: 4 kB / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.3315, allocations: 15.94 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3315, allocations: 4 kB / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3318, allocations: 35.97 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3318, allocations: 4 kB / 1.035 GB, free: 9.406 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.0001396/0.3319, allocations: 147.5 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.332, allocations: 15.81 kB / 1.035 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.332, allocations: 21.52 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.332, allocations: 0 / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.332, allocations: 4 kB / 1.035 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3321, allocations: 0 / 1.035 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.3326, allocations: 470.1 kB / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3327, allocations: 4 kB / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.3327, allocations: 0 / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3327, allocations: 4 kB / 1.036 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3327, allocations: 4 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3327, allocations: 3.938 kB / 1.036 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3327, allocations: 7.984 kB / 1.036 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.333, allocations: 228.1 kB / 1.036 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.333, allocations: 96.84 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3331, allocations: 0 / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3332, allocations: 19.92 kB / 1.036 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.3333, allocations: 19.98 kB / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.3333, allocations: 15.92 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001238/0.3334, allocations: 146 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3334, allocations: 0 / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003317/0.3338, allocations: 47.91 kB / 1.036 GB, free: 8.078 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.0003363/0.3341, allocations: 164.3 kB / 1.037 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3344, allocations: 103.8 kB / 1.037 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3344, allocations: 0 / 1.037 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3345, allocations: 59.41 kB / 1.037 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.3349, allocations: 54.69 kB / 1.037 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.3355, allocations: 304.3 kB / 1.037 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3358, allocations: 0.7241 MB / 1.038 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.3359, allocations: 25.53 kB / 1.038 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.336, allocations: 27.42 kB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.336, allocations: 0 / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of Templates: time 0.007583/0.3436, allocations: 3.66 MB / 1.041 GB, free: 2.977 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 gbode -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