Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.001651/0.001651, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001834/0.001834, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 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.412/2.412, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.78 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2737, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003044/0.2768, allocations: 1.742 MB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2782, allocations: 0.9046 MB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.2783, allocations: 3.938 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2785, allocations: 23.73 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.2788, allocations: 119.4 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2791, allocations: 158.5 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.2794, allocations: 251.3 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2795, allocations: 37.66 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.2797, allocations: 115.7 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.2915, allocations: 2.018 MB / 1.024 GB, free: 5.059 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.2916, allocations: 20 kB / 1.024 GB, free: 5.039 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2917, allocations: 36 kB / 1.024 GB, free: 5.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.2918, allocations: 39.89 kB / 1.024 GB, free: 4.965 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2919, allocations: 99.44 kB / 1.024 GB, free: 4.867 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.2923, allocations: 207.4 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2923, allocations: 4 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2923, allocations: 0 / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2923, allocations: 0 / 1.024 GB, free: 4.66 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007683/0.2931, allocations: 0.5527 MB / 1.025 GB, free: 4.047 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2931, allocations: 8.922 kB / 1.025 GB, free: 4.039 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.2932, allocations: 24.69 kB / 1.025 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.2935, allocations: 248 kB / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2935, allocations: 12 kB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.2936, allocations: 11.98 kB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2938, allocations: 95.36 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2938, allocations: 7.938 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2938, allocations: 4 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2938, allocations: 4 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2939, allocations: 51.91 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.2947, allocations: 460.3 kB / 1.026 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.2951, allocations: 138.7 kB / 1.026 GB, free: 2.902 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.2951, allocations: 32.86 kB / 1.026 GB, free: 2.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2952, allocations: 0 / 1.026 GB, free: 2.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.2954, allocations: 123.1 kB / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2954, allocations: 0 / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0003414/0.2958, allocations: 164.7 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.2958, allocations: 59.34 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.296, allocations: 200 kB / 1.027 GB, free: 2.293 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.296, allocations: 33.7 kB / 1.027 GB, free: 2.254 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.2961, allocations: 120.5 kB / 1.027 GB, free: 2.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2962, allocations: 35.55 kB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.2963, allocations: 65.66 kB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2964, allocations: 326.8 kB / 1.027 GB, free: 1.699 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.2964, allocations: 31.98 kB / 1.027 GB, free: 1.668 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.2967, allocations: 141 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.2968, allocations: 96.22 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2968, allocations: 4 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002384/0.2971, allocations: 155.9 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2971, allocations: 8 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2971, allocations: 4 kB / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2971, allocations: 0 / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.2972, allocations: 15.98 kB / 1.027 GB, free: 1.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2972, allocations: 4 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2974, allocations: 27.83 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2974, allocations: 7.938 kB / 1.028 GB, free: 1.168 MB / 0.795 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.0001298/0.2976, allocations: 140.2 kB / 1.028 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.2976, allocations: 19.8 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.2976, allocations: 17.88 kB / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2977, allocations: 4 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2977, allocations: 0 / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2977, allocations: 0 / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.2983, allocations: 0.4902 MB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2983, allocations: 48 / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.2984, allocations: 15.92 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2984, allocations: 3.938 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2984, allocations: 0 / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2984, allocations: 3.938 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2984, allocations: 4 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2986, allocations: 231.2 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.2987, allocations: 96.91 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2987, allocations: 0 / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2988, allocations: 23.92 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.2989, allocations: 19.97 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.299, allocations: 4 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001264/0.2991, allocations: 143.2 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2991, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003009/0.2994, allocations: 40 kB / 1.029 GB, free: 15.83 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.000317/0.2997, allocations: 175.2 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.2999, allocations: 107.9 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.3001, allocations: 51.92 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3005, allocations: 64.62 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.301, allocations: 286.6 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3013, allocations: 0.7282 MB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.046e-05/0.3013, allocations: 17.55 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.3014, allocations: 31.42 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3014, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of Templates: time 0.007002/0.3084, allocations: 3.714 MB / 1.034 GB, free: 10.68 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches