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.0009536/0.0009536, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001008/0.001008, allocations: 164.5 kB / 24.86 MB, free: 8.891 MB / 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 0.9676/0.9676, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.805/1.805, allocations: 359 MB / 0.6063 GB, free: 10.88 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.685e-06/2.685e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.208e-05, allocations: 7.031 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.004947/0.004979, allocations: 0.9442 MB / 0.7892 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.00668, allocations: 1.488 MB / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.006751, allocations: 0 / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.006791, allocations: 11.81 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.006947, allocations: 69.06 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.01097, allocations: 428.6 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.01158, allocations: 491.5 kB / 0.7917 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.0117, allocations: 34.44 kB / 0.7917 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.01198, allocations: 268.8 kB / 0.7919 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.01219, allocations: 123.7 kB / 0.7921 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.01225, allocations: 52 kB / 0.7921 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.01236, allocations: 63.98 kB / 0.7922 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.0124, allocations: 41.91 kB / 0.7922 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.01253, allocations: 139.8 kB / 0.7923 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.01289, allocations: 347 kB / 0.7927 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01289, allocations: 0 / 0.7927 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01289, allocations: 0 / 0.7927 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.0129, allocations: 0 / 0.7927 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.003725/0.01662, allocations: 0.6489 MB / 0.7933 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.01666, allocations: 8.031 kB / 0.7933 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.01675, allocations: 44.73 kB / 0.7934 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.01689, allocations: 163.7 kB / 0.7935 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.01692, allocations: 16.31 kB / 0.7935 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.01697, allocations: 29.08 kB / 0.7936 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.01712, allocations: 120.5 kB / 0.7937 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.01713, allocations: 0.7188 kB / 0.7937 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.01714, allocations: 10.02 kB / 0.7937 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.01715, allocations: 4.375 kB / 0.7937 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.0172, allocations: 27.84 kB / 0.7937 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.01791, allocations: 0.8724 MB / 0.7946 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.01804, allocations: 129.4 kB / 0.7947 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.01809, allocations: 46.73 kB / 0.7947 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.0181, allocations: 9.156 kB / 0.7947 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.01829, allocations: 167.6 kB / 0.7949 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.0183, allocations: 1.375 kB / 0.7949 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003241/0.01862, allocations: 177.3 kB / 0.7951 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.01868, allocations: 136.5 kB / 0.7952 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01887, allocations: 281.9 kB / 0.7955 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.01893, allocations: 37.7 kB / 0.7955 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01904, allocations: 187.2 kB / 0.7957 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.01907, allocations: 35.72 kB / 0.7957 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.01922, allocations: 99.28 kB / 0.7958 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01936, allocations: 0.5049 MB / 0.7963 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.01957, allocations: 203 kB / 0.7965 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.01982, allocations: 328 kB / 0.7968 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.02012, allocations: 347.2 kB / 0.7971 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.02012, allocations: 0 / 0.7971 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006986/0.02082, allocations: 0.6026 MB / 0.7977 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.379e-05/0.02091, allocations: 134.8 kB / 0.7979 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02092, allocations: 0 / 0.7979 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.02093, allocations: 4 kB / 0.7979 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.02101, allocations: 19.98 kB / 0.7979 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.02102, allocations: 10.47 kB / 0.7979 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.02139, allocations: 83.81 kB / 0.798 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.02142, allocations: 20.92 kB / 0.798 GB, free: 1.703 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.000183/0.0216, allocations: 186.2 kB / 0.7982 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.02163, allocations: 35.8 kB / 0.7982 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.02167, allocations: 22.61 kB / 0.7982 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.02167, allocations: 4 kB / 0.7982 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.02167, allocations: 0 / 0.7982 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.02168, allocations: 0.8438 kB / 0.7982 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.02181, allocations: 157.2 kB / 0.7984 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02181, allocations: 0.9375 kB / 0.7984 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.02184, allocations: 15.97 kB / 0.7984 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.02184, allocations: 3.938 kB / 0.7984 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.02185, allocations: 9.5 kB / 0.7984 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.02186, allocations: 0 / 0.7984 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.02186, allocations: 7.938 kB / 0.7984 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.02203, allocations: 199.2 kB / 0.7986 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.02205, allocations: 25.02 kB / 0.7986 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.02207, allocations: 7.875 kB / 0.7986 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.02211, allocations: 8 kB / 0.7986 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.02214, allocations: 12.97 kB / 0.7987 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.02214, allocations: 8 kB / 0.7987 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.745e-05/0.02222, allocations: 193 kB / 0.7989 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02222, allocations: 0.5312 kB / 0.7989 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002183/0.02244, allocations: 73.58 kB / 0.7989 GB, free: 0.6875 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.0001305/0.02257, allocations: 111.5 kB / 0.799 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003907/0.02296, allocations: 0.5329 MB / 0.7995 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02296, allocations: 0 / 0.7995 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-05/0.02302, allocations: 56.52 kB / 0.7996 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.02331, allocations: 81.64 kB / 0.7997 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.02371, allocations: 340.4 kB / 0.8 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.02376, allocations: 71.98 kB / 0.8001 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.02381, allocations: 18.39 kB / 0.8001 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.02401, allocations: 162.1 kB / 0.8002 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of SimCode: time 1.323e-06/0.02401, allocations: 0.9375 kB / 0.8002 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.006904/0.03092, allocations: 5.596 MB / 0.8057 GB, free: 9.723 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.154822267126292]