Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.001253/0.001253, allocations: 111.8 kB / 16.37 MB, free: 6.012 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.00133/0.001331, allocations: 194.7 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.308/1.308, 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.378/2.378, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 56.88 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2766, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003185/0.2798, allocations: 1.742 MB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2812, allocations: 0.8968 MB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.2813, allocations: 11.94 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.2815, allocations: 19.73 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.2819, allocations: 119.4 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.2822, allocations: 156.8 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.2825, allocations: 247.3 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2827, allocations: 45.66 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.2828, allocations: 111.7 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009948/0.2928, allocations: 1.661 MB / 1.024 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.2928, allocations: 20 kB / 1.024 GB, free: 5.242 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.293, allocations: 47.97 kB / 1.024 GB, free: 5.195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.293, allocations: 39.84 kB / 1.024 GB, free: 5.156 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.2932, allocations: 91.48 kB / 1.024 GB, free: 5.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.2935, allocations: 211.4 kB / 1.024 GB, free: 4.859 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2935, allocations: 7.938 kB / 1.024 GB, free: 4.852 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2935, allocations: 0 / 1.024 GB, free: 4.852 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2936, allocations: 0 / 1.024 GB, free: 4.852 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.0007921/0.2944, allocations: 0.5588 MB / 1.025 GB, free: 4.234 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2944, allocations: 8.922 kB / 1.025 GB, free: 4.227 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.346e-05/0.2945, allocations: 20.75 kB / 1.025 GB, free: 4.207 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.2948, allocations: 244.1 kB / 1.025 GB, free: 3.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2948, allocations: 12 kB / 1.025 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.2948, allocations: 8 kB / 1.025 GB, free: 3.91 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.2951, allocations: 115.3 kB / 1.025 GB, free: 3.785 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2951, allocations: 0 / 1.025 GB, free: 3.785 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2951, allocations: 12 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2951, allocations: 0 / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.2952, allocations: 51.97 kB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.2961, allocations: 0.5395 MB / 1.026 GB, free: 3.129 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.2962, allocations: 97.27 kB / 1.026 GB, free: 3.016 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.2963, allocations: 41.77 kB / 1.026 GB, free: 2.969 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2963, allocations: 0 / 1.026 GB, free: 2.969 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.2966, allocations: 131.9 kB / 1.026 GB, free: 2.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.2966, allocations: 3.938 kB / 1.026 GB, free: 2.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003341/0.297, allocations: 168.5 kB / 1.026 GB, free: 2.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.297, allocations: 85.05 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2972, allocations: 196.1 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.2973, allocations: 33.7 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.2974, allocations: 136.5 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.2974, allocations: 27.64 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2975, allocations: 65.58 kB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2976, allocations: 322.8 kB / 1.027 GB, free: 1.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.2977, allocations: 31.98 kB / 1.027 GB, free: 1.719 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.2979, allocations: 142.8 kB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2981, allocations: 113.9 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2981, allocations: 4 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002482/0.2983, allocations: 161.3 kB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2983, allocations: 4 kB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2984, allocations: 4 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2984, allocations: 4 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.2985, allocations: 19.92 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2985, allocations: 0 / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2987, allocations: 31.98 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2987, allocations: 8 kB / 1.027 GB, free: 1.176 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.000138/0.2989, allocations: 143.5 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.2989, allocations: 15.81 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.2989, allocations: 21.52 kB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.299, allocations: 4 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.299, allocations: 0 / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.299, allocations: 0 / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.2995, allocations: 473.5 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2996, allocations: 4 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.2996, allocations: 4 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2996, allocations: 3.938 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2996, allocations: 8 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.2996, allocations: 3.938 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2996, allocations: 0 / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2999, allocations: 236.1 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.2999, allocations: 92.86 kB / 1.028 GB, free: 96 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.3, allocations: 7.984 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3001, allocations: 15.92 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.3002, allocations: 15.98 kB / 1.028 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3002, allocations: 11.98 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000135/0.3003, allocations: 144.5 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3003, allocations: 4 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000325/0.3007, allocations: 43.91 kB / 1.029 GB, free: 15.86 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.0003165/0.301, allocations: 168 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3012, allocations: 99.59 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3012, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.3013, allocations: 55.92 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.3018, allocations: 63.17 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.3023, allocations: 304.2 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3026, allocations: 0.7203 MB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.08e-05/0.3027, allocations: 21.53 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.3028, allocations: 23.44 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3028, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.007468/0.3102, allocations: 3.675 MB / 1.034 GB, free: 10.75 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches