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.001158/0.001158, allocations: 119.5 kB / 16.37 MB, free: 6.016 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.001069/0.001069, allocations: 193 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.336/1.336, 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.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 60.25 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2936, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002964/0.2966, allocations: 1.742 MB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.298, allocations: 0.9007 MB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.2981, allocations: 0 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2982, allocations: 35.66 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.2986, allocations: 119.4 kB / 1.022 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.2989, allocations: 155.5 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.2993, allocations: 247.3 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2994, allocations: 41.66 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.2996, allocations: 111.7 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.3115, allocations: 1.987 MB / 1.024 GB, free: 5.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.3116, allocations: 20 kB / 1.024 GB, free: 5.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.3117, allocations: 36 kB / 1.024 GB, free: 5.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.3117, allocations: 43.88 kB / 1.024 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3119, allocations: 95.45 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.3122, allocations: 211.4 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3122, allocations: 0 / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3122, allocations: 0 / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3122, allocations: 0 / 1.024 GB, free: 4.676 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.0007768/0.313, allocations: 0.5527 MB / 1.025 GB, free: 4.062 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.313, allocations: 12.92 kB / 1.025 GB, free: 4.051 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.3131, allocations: 16.75 kB / 1.025 GB, free: 4.035 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3134, allocations: 252 kB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3134, allocations: 12 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.3135, allocations: 16 kB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3137, allocations: 113 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3137, allocations: 4 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3137, allocations: 11.98 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3137, allocations: 3.938 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3139, allocations: 55.97 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.3147, allocations: 0.5356 MB / 1.026 GB, free: 2.938 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.3149, allocations: 97.25 kB / 1.026 GB, free: 2.824 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.3149, allocations: 41.77 kB / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.315, allocations: 4 kB / 1.026 GB, free: 2.773 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.3152, allocations: 128.9 kB / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.3152, allocations: 0 / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003516/0.3156, allocations: 161.5 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3156, allocations: 81.11 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3158, allocations: 208.2 kB / 1.027 GB, free: 2.152 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.3159, allocations: 29.7 kB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.316, allocations: 132.4 kB / 1.027 GB, free: 1.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.316, allocations: 27.64 kB / 1.027 GB, free: 1.957 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.3161, allocations: 69.52 kB / 1.027 GB, free: 1.883 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3162, allocations: 326.8 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.3163, allocations: 31.98 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.3165, allocations: 142.6 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3167, allocations: 113.9 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3167, allocations: 0 / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002451/0.3169, allocations: 160.3 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.317, allocations: 8 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.317, allocations: 0 / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.317, allocations: 4 kB / 1.028 GB, free: 1.047 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.3171, allocations: 20.09 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3171, allocations: 3.984 kB / 1.028 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3173, allocations: 27.83 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3173, allocations: 8 kB / 1.028 GB, free: 0.9883 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.0001231/0.3175, allocations: 139.5 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3175, allocations: 15.81 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.3175, allocations: 21.52 kB / 1.028 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3176, allocations: 4 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3176, allocations: 4 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3176, allocations: 0 / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.3181, allocations: 466.2 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3181, allocations: 0 / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.3182, allocations: 4 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3182, allocations: 0 / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3182, allocations: 11.98 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3182, allocations: 3.938 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3182, allocations: 11.94 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.3184, allocations: 228.1 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.3185, allocations: 96.84 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3185, allocations: 7.938 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3187, allocations: 15.92 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.3188, allocations: 27.97 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3188, allocations: 4 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001141/0.3189, allocations: 143.2 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3189, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003421/0.3193, allocations: 47.91 kB / 1.029 GB, free: 15.66 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.0003018/0.3196, allocations: 170.7 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.3198, allocations: 99.83 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3198, allocations: 320 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.3199, allocations: 59.92 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3203, allocations: 60.47 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.3208, allocations: 276.4 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3211, allocations: 0.7243 MB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.3212, allocations: 21.48 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.3212, allocations: 27.42 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3212, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.007229/0.3285, allocations: 3.665 MB / 1.034 GB, free: 10.59 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 gbode -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