Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001073/0.001073, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008647/0.008647, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.9 MB / 0.6663 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 16 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8703, allocations: 142.4 MB / 0.955 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002358/0.8727, allocations: 1.544 MB / 0.9565 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.8744, allocations: 0.9307 MB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.8746, allocations: 1.094 kB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.8748, allocations: 23.59 kB / 0.9575 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.8751, allocations: 90.86 kB / 0.9576 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.8755, allocations: 134 kB / 0.9577 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.8759, allocations: 233.2 kB / 0.9579 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.876, allocations: 47.14 kB / 0.9579 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.8762, allocations: 97.77 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05285/0.929, allocations: 3.573 MB / 0.9615 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.9292, allocations: 8.656 kB / 0.9615 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.9294, allocations: 26.11 kB / 0.9616 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.9295, allocations: 39.83 kB / 0.9616 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.9297, allocations: 99.72 kB / 0.9617 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.9302, allocations: 211 kB / 0.9619 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.9303, allocations: 0 / 0.9619 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.766e-06/0.9303, allocations: 0 / 0.9619 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.9303, allocations: 1 kB / 0.9619 GB, free: 3.75 MB / 0.7169 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.001159/0.9314, allocations: 0.5238 MB / 0.9624 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.9315, allocations: 9.031 kB / 0.9624 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.9317, allocations: 19.53 kB / 0.9624 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.932, allocations: 247.6 kB / 0.9627 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.9321, allocations: 10.41 kB / 0.9627 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.9321, allocations: 13.94 kB / 0.9627 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.9324, allocations: 111.5 kB / 0.9628 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.9324, allocations: 0 / 0.9628 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.9325, allocations: 12.92 kB / 0.9628 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.9325, allocations: 2.406 kB / 0.9628 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.9326, allocations: 53.97 kB / 0.9629 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.9337, allocations: 0.5448 MB / 0.9634 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.9339, allocations: 103.1 kB / 0.9635 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.934, allocations: 45.48 kB / 0.9635 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.934, allocations: 1.406 kB / 0.9635 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.9343, allocations: 127.1 kB / 0.9637 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.9343, allocations: 0 / 0.9637 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0004033/0.9347, allocations: 155.8 kB / 0.9638 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.9347, allocations: 89.36 kB / 0.9639 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.935, allocations: 203.3 kB / 0.9641 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.935, allocations: 29.2 kB / 0.9641 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.9351, allocations: 130.5 kB / 0.9642 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.9352, allocations: 32.17 kB / 0.9643 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.9352, allocations: 30.3 kB / 0.9643 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.9353, allocations: 330.9 kB / 0.9646 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.9354, allocations: 38.92 kB / 0.9647 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.9357, allocations: 135.5 kB / 0.9648 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.9358, allocations: 117.6 kB / 0.9649 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9358, allocations: 0 / 0.9649 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002554/0.9361, allocations: 157.5 kB / 0.9651 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.9361, allocations: 5.656 kB / 0.9651 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.9361, allocations: 10.14 kB / 0.9651 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.9361, allocations: 2.219 kB / 0.9651 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.9362, allocations: 24.89 kB / 0.9651 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.9363, allocations: 6 kB / 0.9651 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.9365, allocations: 25.05 kB / 0.9651 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.9365, allocations: 10.06 kB / 0.9651 GB, free: 0.8555 MB / 0.7169 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.0001257/0.9367, allocations: 149 kB / 0.9653 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.9367, allocations: 19.83 kB / 0.9653 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.9368, allocations: 18.47 kB / 0.9653 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9368, allocations: 1.938 kB / 0.9653 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.9368, allocations: 0.9688 kB / 0.9653 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9368, allocations: 3.984 kB / 0.9653 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.9374, allocations: 472.5 kB / 0.9658 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.9374, allocations: 0.9062 kB / 0.9658 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.9375, allocations: 7.922 kB / 0.9658 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.9375, allocations: 1.094 kB / 0.9658 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.9375, allocations: 1.969 kB / 0.9658 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.9375, allocations: 5.062 kB / 0.9658 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9375, allocations: 0 / 0.9658 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.9378, allocations: 240.8 kB / 0.966 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.9379, allocations: 93.64 kB / 0.9661 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.9379, allocations: 2 kB / 0.9661 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.9381, allocations: 27.06 kB / 0.9661 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/0.9382, allocations: 12.95 kB / 0.9661 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.9382, allocations: 13.98 kB / 0.9662 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001763/0.9384, allocations: 146.6 kB / 0.9663 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9384, allocations: 0 / 0.9663 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003848/0.9388, allocations: 46.62 kB / 0.9663 GB, free: 15.82 MB / 0.7325 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.0004756/0.9393, allocations: 171.4 kB / 0.9665 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.9396, allocations: 97.12 kB / 0.9666 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9396, allocations: 0.9375 kB / 0.9666 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.9398, allocations: 51.34 kB / 0.9666 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.9403, allocations: 66.81 kB / 0.9667 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.941, allocations: 343.8 kB / 0.967 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.9413, allocations: 0.7221 MB / 0.9677 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.9415, allocations: 26.58 kB / 0.9678 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.9415, allocations: 18.72 kB / 0.9678 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.9415, allocations: 1.094 kB / 0.9678 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.00913/0.9507, allocations: 3.409 MB / 0.9711 GB, free: 12.88 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches