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.0008321/0.0008322, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000952/0.0009519, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.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.819/2.819, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 11.98 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.6175, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002375/0.6199, allocations: 1.543 MB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.6216, allocations: 0.9282 MB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.6218, allocations: 4 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.622, allocations: 23.78 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.6224, allocations: 91.66 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.6228, allocations: 139.8 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.6231, allocations: 231.3 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.6232, allocations: 37.67 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.6234, allocations: 91.67 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05347/0.6769, allocations: 3.577 MB / 1.03 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/0.677, allocations: 8 kB / 1.03 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.6771, allocations: 31.97 kB / 1.03 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.6772, allocations: 31.84 kB / 1.03 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.6774, allocations: 109.3 kB / 1.03 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.6776, allocations: 147.5 kB / 1.03 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6776, allocations: 0 / 1.03 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6776, allocations: 0 / 1.03 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6776, allocations: 0 / 1.03 GB, free: 9.773 MB / 0.7794 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.000795/0.6784, allocations: 0.5216 MB / 1.031 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6785, allocations: 8.031 kB / 1.031 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.6786, allocations: 24.73 kB / 1.031 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.6789, allocations: 243.4 kB / 1.031 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6789, allocations: 12 kB / 1.031 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.679, allocations: 16 kB / 1.031 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.6792, allocations: 107.4 kB / 1.031 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.6792, allocations: 0 / 1.031 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.6792, allocations: 15.91 kB / 1.031 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6792, allocations: 7.938 kB / 1.031 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.6793, allocations: 55.91 kB / 1.031 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.6803, allocations: 0.5513 MB / 1.032 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.6804, allocations: 97.06 kB / 1.032 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.6805, allocations: 41.77 kB / 1.032 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.6805, allocations: 0 / 1.032 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.6807, allocations: 129.1 kB / 1.032 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.6808, allocations: 0 / 1.032 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003371/0.6811, allocations: 153.6 kB / 1.032 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.6812, allocations: 89.08 kB / 1.032 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.6814, allocations: 198.5 kB / 1.033 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.6814, allocations: 33.7 kB / 1.033 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.6815, allocations: 132.5 kB / 1.033 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.6815, allocations: 27.56 kB / 1.033 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.6816, allocations: 29.7 kB / 1.033 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6817, allocations: 330.8 kB / 1.033 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.6818, allocations: 35.98 kB / 1.033 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.682, allocations: 144.8 kB / 1.033 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.6822, allocations: 106 kB / 1.033 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6822, allocations: 4 kB / 1.033 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002541/0.6825, allocations: 157.2 kB / 1.034 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6825, allocations: 11.94 kB / 1.034 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6825, allocations: 0 / 1.034 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6825, allocations: 4 kB / 1.034 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.6826, allocations: 19.98 kB / 1.034 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6826, allocations: 4 kB / 1.034 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.6829, allocations: 32.05 kB / 1.034 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.6829, allocations: 7.938 kB / 1.034 GB, free: 6.141 MB / 0.7794 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.0001366/0.683, allocations: 148 kB / 1.034 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.6831, allocations: 19.75 kB / 1.034 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.6831, allocations: 17.53 kB / 1.034 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6831, allocations: 0 / 1.034 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6831, allocations: 4 kB / 1.034 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6831, allocations: 7.984 kB / 1.034 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.6838, allocations: 470.2 kB / 1.034 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6838, allocations: 4 kB / 1.034 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.6838, allocations: 8.016 kB / 1.034 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6839, allocations: 7.984 kB / 1.034 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6839, allocations: 4 kB / 1.034 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6839, allocations: 7.875 kB / 1.034 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6839, allocations: 4 kB / 1.034 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.6841, allocations: 232 kB / 1.035 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.6842, allocations: 92.92 kB / 1.035 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.6842, allocations: 0 / 1.035 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.6844, allocations: 31.91 kB / 1.035 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.6845, allocations: 15.92 kB / 1.035 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.6845, allocations: 15.98 kB / 1.035 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001266/0.6846, allocations: 135.2 kB / 1.035 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6846, allocations: 0 / 1.035 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003257/0.685, allocations: 47.94 kB / 1.035 GB, free: 4.797 MB / 0.7794 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.0003616/0.6853, allocations: 173.7 kB / 1.035 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.6856, allocations: 99.84 kB / 1.035 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6856, allocations: 0 / 1.035 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.6857, allocations: 47.92 kB / 1.035 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.6862, allocations: 61.14 kB / 1.035 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.6868, allocations: 373.4 kB / 1.036 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.6872, allocations: 0.7245 MB / 1.036 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.6872, allocations: 19.44 kB / 1.036 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6872, allocations: 0 / 1.036 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of Templates: time 0.006058/0.6933, allocations: 3.173 MB / 1.039 GB, free: 120 kB / 0.7794 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