Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.76/1.76, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/3.01e-05, allocations: 3.562 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002453/0.002483, allocations: 0.9496 MB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.00467, allocations: 1.48 MB / 0.7899 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.004804, allocations: 1.25 kB / 0.7899 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.00486, allocations: 19.73 kB / 0.79 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.005083, allocations: 60.95 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.006208, allocations: 432.3 kB / 0.7904 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.006822, allocations: 499.6 kB / 0.7909 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.006961, allocations: 35.34 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.007329, allocations: 255.6 kB / 0.7912 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.007608, allocations: 135.6 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-05/0.007704, allocations: 51.94 kB / 0.7914 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.007836, allocations: 60.97 kB / 0.7914 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.007884, allocations: 39.83 kB / 0.7915 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.008039, allocations: 135.7 kB / 0.7916 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.008516, allocations: 340 kB / 0.7919 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.00852, allocations: 0 / 0.7919 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.008522, allocations: 1.031 kB / 0.7919 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.008528, allocations: 4 kB / 0.7919 GB, free: 7.727 MB / 0.7448 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.0006211/0.009149, allocations: 0.6585 MB / 0.7926 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.009188, allocations: 8.562 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.009256, allocations: 45.44 kB / 0.7926 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.009365, allocations: 155.8 kB / 0.7928 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.009392, allocations: 21.97 kB / 0.7928 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.009432, allocations: 24.38 kB / 0.7928 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.009571, allocations: 125.6 kB / 0.7929 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.00958, allocations: 4.172 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.009588, allocations: 1.562 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.009595, allocations: 4.375 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.009633, allocations: 27.84 kB / 0.793 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.01026, allocations: 0.8734 MB / 0.7938 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.01036, allocations: 125.6 kB / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.0104, allocations: 46.75 kB / 0.794 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.01041, allocations: 7.922 kB / 0.794 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.01057, allocations: 177.5 kB / 0.7942 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.01057, allocations: 0 / 0.7942 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002475/0.01082, allocations: 182 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.01087, allocations: 140.4 kB / 0.7945 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01101, allocations: 276.2 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.01104, allocations: 37.7 kB / 0.7948 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.01113, allocations: 179.3 kB / 0.7949 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.01115, allocations: 39.72 kB / 0.795 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01126, allocations: 95.81 kB / 0.7951 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.01138, allocations: 0.5085 MB / 0.7956 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.01154, allocations: 211 kB / 0.7958 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.01172, allocations: 319.9 kB / 0.7961 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.01195, allocations: 346 kB / 0.7964 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.01195, allocations: 0 / 0.7964 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005063/0.01246, allocations: 0.6024 MB / 0.797 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/0.01253, allocations: 138.8 kB / 0.7971 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.01253, allocations: 1.75 kB / 0.7971 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.01254, allocations: 4 kB / 0.7971 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.0126, allocations: 15.94 kB / 0.7971 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01261, allocations: 4 kB / 0.7971 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.01286, allocations: 85.94 kB / 0.7972 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.01289, allocations: 27.97 kB / 0.7972 GB, free: 1.691 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000106/0.01299, allocations: 184.5 kB / 0.7974 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.01302, allocations: 39.78 kB / 0.7975 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.01306, allocations: 17.34 kB / 0.7975 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01306, allocations: 4 kB / 0.7975 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01306, allocations: 0 / 0.7975 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01307, allocations: 3.984 kB / 0.7975 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.01319, allocations: 149.2 kB / 0.7976 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01319, allocations: 4 kB / 0.7976 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.01321, allocations: 12.44 kB / 0.7976 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01322, allocations: 4.5 kB / 0.7976 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.01323, allocations: 11.98 kB / 0.7977 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01323, allocations: 1.5 kB / 0.7977 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01323, allocations: 4 kB / 0.7977 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.0134, allocations: 207.2 kB / 0.7979 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.01342, allocations: 15.91 kB / 0.7979 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01343, allocations: 12.45 kB / 0.7979 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.01346, allocations: 9.688 kB / 0.7979 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.01349, allocations: 11.98 kB / 0.7979 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.0135, allocations: 7.984 kB / 0.7979 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.524e-05/0.01358, allocations: 189.1 kB / 0.7981 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01358, allocations: 0 / 0.7981 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000213/0.01379, allocations: 72.8 kB / 0.7982 GB, free: 0.6836 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0001285/0.01392, allocations: 112.9 kB / 0.7983 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.01428, allocations: 0.5301 MB / 0.7988 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01429, allocations: 4 kB / 0.7988 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.01434, allocations: 45.22 kB / 0.7988 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.01461, allocations: 77.66 kB / 0.7989 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.01499, allocations: 350.3 kB / 0.7992 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.01503, allocations: 71.98 kB / 0.7993 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.893e-05/0.01508, allocations: 17.64 kB / 0.7993 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.01528, allocations: 162.1 kB / 0.7995 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.01528, allocations: 0.9062 kB / 0.7995 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.007001/0.02228, allocations: 5.506 MB / 0.8049 GB, free: 9.82 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.101852900814265]