Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009721/0.0009722, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.0009231/0.0009232, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.173/1.173, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.238/2.238, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 61.38 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2715, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.0027/0.2742, allocations: 1.742 MB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2755, allocations: 0.9045 MB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.2756, allocations: 4 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2758, allocations: 23.73 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.2761, allocations: 127.4 kB / 1.022 GB, free: 7.031 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.2764, allocations: 156.9 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.2767, allocations: 239.4 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2768, allocations: 37.67 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.2769, allocations: 115.7 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.2877, allocations: 1.994 MB / 1.024 GB, free: 5.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.2878, allocations: 16 kB / 1.024 GB, free: 5.016 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2879, allocations: 39.98 kB / 1.024 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.288, allocations: 35.91 kB / 1.024 GB, free: 4.941 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.2881, allocations: 103.4 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.2884, allocations: 215.3 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2884, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2884, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2884, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 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.0007876/0.2892, allocations: 0.5566 MB / 1.025 GB, free: 4.012 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2893, allocations: 8.922 kB / 1.025 GB, free: 4.004 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.2894, allocations: 20.75 kB / 1.025 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.2896, allocations: 252 kB / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2897, allocations: 8 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.2897, allocations: 16 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.2899, allocations: 113.2 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2899, allocations: 0 / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2899, allocations: 4 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2899, allocations: 4 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.2901, allocations: 55.91 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.2909, allocations: 0.5396 MB / 1.026 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.291, allocations: 89.14 kB / 1.026 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.2911, allocations: 45.95 kB / 1.026 GB, free: 2.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2911, allocations: 7.938 kB / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.2913, allocations: 124.9 kB / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2913, allocations: 0 / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003116/0.2917, allocations: 169.5 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2917, allocations: 81.11 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2919, allocations: 200.2 kB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2919, allocations: 33.7 kB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.292, allocations: 124.4 kB / 1.027 GB, free: 1.953 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.292, allocations: 31.64 kB / 1.027 GB, free: 1.922 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.2921, allocations: 65.52 kB / 1.027 GB, free: 1.852 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.2922, allocations: 334.8 kB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.2923, allocations: 27.98 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.2925, allocations: 142.6 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.2927, allocations: 116.7 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2927, allocations: 4 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002332/0.2929, allocations: 161.3 kB / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2929, allocations: 4 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2929, allocations: 4 kB / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.293, allocations: 0 / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.2931, allocations: 20.14 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2931, allocations: 11.88 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.2933, allocations: 27.83 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2933, allocations: 8 kB / 1.028 GB, free: 0.9414 MB / 0.795 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.0001108/0.2934, allocations: 139.5 kB / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.2934, allocations: 15.81 kB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.2935, allocations: 21.52 kB / 1.028 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2935, allocations: 4 kB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2935, allocations: 7.938 kB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2935, allocations: 0 / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.294, allocations: 458.2 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.294, allocations: 3.938 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.2941, allocations: 4 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2941, allocations: 0 / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2941, allocations: 4 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2941, allocations: 7.938 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2941, allocations: 4 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.2943, allocations: 232.1 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.2944, allocations: 92.86 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.2944, allocations: 7.938 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2945, allocations: 23.86 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.2946, allocations: 19.98 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.2946, allocations: 11.98 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000107/0.2947, allocations: 139.2 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2947, allocations: 0 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002924/0.295, allocations: 47.91 kB / 1.029 GB, free: 15.62 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.0002865/0.2953, allocations: 164.8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2955, allocations: 103.8 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2956, allocations: 320 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.2956, allocations: 59.92 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.296, allocations: 58.94 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.2965, allocations: 284.4 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2967, allocations: 0.7204 MB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.913e-05/0.2968, allocations: 21.53 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.2969, allocations: 23.42 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2969, allocations: 0 / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of Templates: time 0.006533/0.3034, allocations: 3.671 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches