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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001939/0.001939, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001848/0.001848, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.527/1.527, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.1 MB / 0.711 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.00204, allocations: 67.94 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003219/0.3112, allocations: 1.727 MB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3128, allocations: 0.9046 MB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.3129, allocations: 0 / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.3132, allocations: 47.59 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.3136, allocations: 107.5 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.314, allocations: 154.3 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.3143, allocations: 239.4 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3144, allocations: 37.61 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3146, allocations: 111.7 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0156/0.3302, allocations: 1.983 MB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.571e-05/0.3303, allocations: 16 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3304, allocations: 36 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.3305, allocations: 39.89 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.3307, allocations: 95.5 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3311, allocations: 219.3 kB / 1.024 GB, free: 5.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3311, allocations: 0 / 1.024 GB, free: 5.449 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3311, allocations: 0 / 1.024 GB, free: 5.449 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3311, allocations: 4 kB / 1.024 GB, free: 5.445 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.0008856/0.332, allocations: 0.541 MB / 1.024 GB, free: 4.844 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3321, allocations: 12.92 kB / 1.024 GB, free: 4.832 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.3321, allocations: 16.75 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.3325, allocations: 252 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3325, allocations: 12 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.3325, allocations: 12 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.3328, allocations: 113.2 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3328, allocations: 7.938 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3328, allocations: 7.984 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3328, allocations: 3.938 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3329, allocations: 55.91 kB / 1.025 GB, free: 4.312 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/0.3339, allocations: 0.5357 MB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3341, allocations: 97.12 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.3341, allocations: 41.77 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3342, allocations: 4 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.3344, allocations: 125.1 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3345, allocations: 0 / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003708/0.3348, allocations: 169.5 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.3349, allocations: 81.11 kB / 1.026 GB, free: 3.148 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.3351, allocations: 197.3 kB / 1.026 GB, free: 2.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3352, allocations: 33.7 kB / 1.026 GB, free: 2.906 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3353, allocations: 128.4 kB / 1.026 GB, free: 2.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3353, allocations: 23.66 kB / 1.026 GB, free: 2.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.3354, allocations: 69.56 kB / 1.026 GB, free: 2.676 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3356, allocations: 331 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.3357, allocations: 31.98 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.3359, allocations: 138.6 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3361, allocations: 113.9 kB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3361, allocations: 0 / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002711/0.3364, allocations: 168.1 kB / 1.027 GB, free: 1.844 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3364, allocations: 14.34 kB / 1.027 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3364, allocations: 4 kB / 1.027 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3365, allocations: 4 kB / 1.027 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.3366, allocations: 12 kB / 1.027 GB, free: 1.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3366, allocations: 11.92 kB / 1.027 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.3368, allocations: 27.83 kB / 1.027 GB, free: 1.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3368, allocations: 4 kB / 1.027 GB, free: 1.77 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.0001445/0.337, allocations: 135.5 kB / 1.027 GB, free: 1.629 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.337, allocations: 27.75 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.3371, allocations: 21.52 kB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3371, allocations: 0 / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3371, allocations: 0 / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3371, allocations: 4 kB / 1.027 GB, free: 1.582 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.3377, allocations: 466.2 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3377, allocations: 0 / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.3378, allocations: 11.94 kB / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3378, allocations: 4 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3378, allocations: 11.92 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3378, allocations: 3.938 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3378, allocations: 0 / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.3381, allocations: 220.2 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.3382, allocations: 100.8 kB / 1.028 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3382, allocations: 4 kB / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3383, allocations: 19.92 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.3384, allocations: 23.91 kB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.3384, allocations: 4 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001407/0.3386, allocations: 147.3 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3386, allocations: 0 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003176/0.3389, allocations: 43.91 kB / 1.028 GB, free: 460 kB / 0.795 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.0004163/0.3393, allocations: 169.2 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.3396, allocations: 114.9 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3396, allocations: 0 / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3397, allocations: 55.91 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3401, allocations: 64.2 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.3408, allocations: 318.7 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3411, allocations: 0.7281 MB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.3412, allocations: 23.42 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3412, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.005769/0.347, allocations: 3.186 MB / 1.033 GB, free: 11.79 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 -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) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time