Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.000957, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 176.2 kB / 16.92 MB, free: 6.652 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.832/2.832, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 10 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2869, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002223/0.2892, allocations: 1.549 MB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2909, allocations: 0.9359 MB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.291, allocations: 3.938 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2912, allocations: 19.86 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.2915, allocations: 95.64 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.2919, allocations: 150.9 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2922, allocations: 219.4 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2924, allocations: 41.64 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2925, allocations: 99.62 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05307/0.3456, allocations: 3.57 MB / 1.066 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.3457, allocations: 11.94 kB / 1.066 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3458, allocations: 28 kB / 1.066 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.3459, allocations: 31.89 kB / 1.066 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.346, allocations: 113.1 kB / 1.066 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.3463, allocations: 139.7 kB / 1.066 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3463, allocations: 0 / 1.066 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3463, allocations: 0 / 1.066 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3463, allocations: 3.938 kB / 1.066 GB, free: 14.84 MB / 0.8262 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.0007682/0.3471, allocations: 0.5217 MB / 1.067 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3471, allocations: 15.97 kB / 1.067 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.3472, allocations: 16.75 kB / 1.067 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.3475, allocations: 251.4 kB / 1.067 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3475, allocations: 12 kB / 1.067 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.3476, allocations: 12 kB / 1.067 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3478, allocations: 116.8 kB / 1.067 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3478, allocations: 0 / 1.067 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3478, allocations: 4 kB / 1.067 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3478, allocations: 0 / 1.067 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3479, allocations: 59.91 kB / 1.067 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.3488, allocations: 0.5552 MB / 1.068 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.349, allocations: 89.14 kB / 1.068 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.349, allocations: 41.95 kB / 1.068 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.3491, allocations: 7.922 kB / 1.068 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.3492, allocations: 128.9 kB / 1.068 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3493, allocations: 0 / 1.068 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003216/0.3496, allocations: 160.4 kB / 1.068 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3496, allocations: 89.11 kB / 1.068 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3498, allocations: 196.3 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3499, allocations: 33.7 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.35, allocations: 120.6 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.35, allocations: 43.53 kB / 1.069 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3501, allocations: 29.7 kB / 1.069 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3502, allocations: 326.8 kB / 1.069 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.3502, allocations: 27.98 kB / 1.069 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.3505, allocations: 146.2 kB / 1.069 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3506, allocations: 109.9 kB / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3506, allocations: 4 kB / 1.069 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002485/0.3509, allocations: 157.3 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3509, allocations: 4 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3509, allocations: 4 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3509, allocations: 0 / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.351, allocations: 12 kB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.351, allocations: 7.938 kB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.3513, allocations: 43.91 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3513, allocations: 8 kB / 1.069 GB, free: 11.2 MB / 0.8262 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.0001229/0.3514, allocations: 135.5 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.3515, allocations: 23.72 kB / 1.07 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.3515, allocations: 25.45 kB / 1.07 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3515, allocations: 7.938 kB / 1.07 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3515, allocations: 0 / 1.07 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3516, allocations: 0 / 1.07 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.3522, allocations: 484.9 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3522, allocations: 0 / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.3522, allocations: 4 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3522, allocations: 0 / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3522, allocations: 15.98 kB / 1.07 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3522, allocations: 3.938 kB / 1.07 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3522, allocations: 0 / 1.07 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3525, allocations: 224.1 kB / 1.07 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.3525, allocations: 96.84 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3526, allocations: 8 kB / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3527, allocations: 23.92 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.3528, allocations: 19.97 kB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3528, allocations: 4 kB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001204/0.3529, allocations: 148.2 kB / 1.071 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3529, allocations: 0 / 1.071 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003114/0.3532, allocations: 43.98 kB / 1.071 GB, free: 9.863 MB / 0.8262 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.000326/0.3536, allocations: 168.6 kB / 1.071 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.3538, allocations: 103.8 kB / 1.071 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3538, allocations: 0 / 1.071 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.3539, allocations: 55.86 kB / 1.071 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.3544, allocations: 44.7 kB / 1.071 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.3549, allocations: 374.4 kB / 1.071 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.3552, allocations: 0.7245 MB / 1.072 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.3553, allocations: 23.42 kB / 1.072 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3553, allocations: 0 / 1.072 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.005817/0.3611, allocations: 3.172 MB / 1.075 GB, free: 5.184 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time