Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.001019, allocations: 113.5 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.001126/0.001126, allocations: 191.4 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.332/1.332, 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.527/2.527, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.53 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3035, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003228/0.3067, allocations: 1.635 MB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3078, allocations: 0.5616 MB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.3079, allocations: 8 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.3081, allocations: 27.73 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.3084, allocations: 115.4 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3087, allocations: 142.7 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.309, allocations: 211.5 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3091, allocations: 25.55 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3092, allocations: 107.6 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009282/0.3185, allocations: 1.57 MB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.3186, allocations: 16 kB / 1.023 GB, free: 5.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3187, allocations: 28 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.3188, allocations: 43.77 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.319, allocations: 79.64 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.3193, allocations: 203.3 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3193, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3194, allocations: 4 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3194, allocations: 0 / 1.023 GB, free: 5.508 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007538/0.3201, allocations: 0.5215 MB / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3202, allocations: 8.922 kB / 1.024 GB, free: 4.918 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.3203, allocations: 24.75 kB / 1.024 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3206, allocations: 239.9 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3206, allocations: 19.94 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.3206, allocations: 12 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3208, allocations: 85.59 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3208, allocations: 3.938 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3208, allocations: 4 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3209, allocations: 0 / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.321, allocations: 43.97 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.3217, allocations: 436.5 kB / 1.025 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3219, allocations: 70.5 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.3219, allocations: 28.84 kB / 1.025 GB, free: 3.863 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.322, allocations: 4 kB / 1.025 GB, free: 3.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.3222, allocations: 91.36 kB / 1.025 GB, free: 3.758 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.3222, allocations: 0 / 1.025 GB, free: 3.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003021/0.3225, allocations: 133.5 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3225, allocations: 55.41 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3227, allocations: 195.6 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3228, allocations: 29.7 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.3229, allocations: 120 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3229, allocations: 23.8 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/0.323, allocations: 53.67 kB / 1.026 GB, free: 3.113 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3231, allocations: 330.8 kB / 1.026 GB, free: 2.781 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.3232, allocations: 23.98 kB / 1.026 GB, free: 2.758 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3234, allocations: 115.7 kB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3235, allocations: 88.17 kB / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3235, allocations: 0 / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002042/0.3237, allocations: 133.4 kB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3237, allocations: 4 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3237, allocations: 3.938 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3238, allocations: 8.125 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.3239, allocations: 19.92 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3239, allocations: 3.938 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.324, allocations: 23.83 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3241, allocations: 8 kB / 1.026 GB, free: 2.309 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001185/0.3242, allocations: 130.4 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3242, allocations: 15.81 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.3243, allocations: 25.33 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3243, allocations: 4 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3243, allocations: 4 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3243, allocations: 0 / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.3248, allocations: 434.2 kB / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3248, allocations: 0 / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.3248, allocations: 4 kB / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3248, allocations: 0 / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3248, allocations: 0 / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3249, allocations: 4 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3249, allocations: 4 kB / 1.027 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3251, allocations: 215.6 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.3251, allocations: 92.94 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3251, allocations: 0 / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.3252, allocations: 8 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.3253, allocations: 15.97 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3253, allocations: 8 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001083/0.3255, allocations: 140.1 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3255, allocations: 0 / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002976/0.3258, allocations: 39.91 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003438/0.3261, allocations: 167.3 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.3263, allocations: 79.84 kB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3263, allocations: 0 / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.3264, allocations: 39.92 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3268, allocations: 52.83 kB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.3274, allocations: 271 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3278, allocations: 0.7124 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.283e-05/0.3278, allocations: 17.55 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.3279, allocations: 23.42 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3279, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of Templates: time 0.006854/0.3347, allocations: 3.292 MB / 1.032 GB, free: 12.46 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches