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.001378/0.001378, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001465/0.001465, allocations: 161 kB / 23.82 MB, free: 0.75 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.9845/0.9845, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.722/1.722, allocations: 359 MB / 0.6052 GB, free: 11 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 3.156e-06/3.156e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.87e-05, allocations: 12.92 kB / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001716/0.001754, allocations: 0.9555 MB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.003333, allocations: 1.487 MB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.003409, allocations: 4 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.003453, allocations: 16.42 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.003595, allocations: 60.39 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000852/0.004447, allocations: 433.6 kB / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.004917, allocations: 491 kB / 0.7905 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.005043, allocations: 34.98 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.005318, allocations: 263.6 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.005515, allocations: 135.6 kB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.005572, allocations: 49.56 kB / 0.7909 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.005663, allocations: 60 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.005699, allocations: 43.77 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.005832, allocations: 131.8 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.006218, allocations: 348.7 kB / 0.7915 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.006223, allocations: 0 / 0.7915 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006225, allocations: 0 / 0.7915 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.006232, allocations: 0 / 0.7915 GB, free: 7.949 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.0008251/0.007057, allocations: 0.6514 MB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.007114, allocations: 12.03 kB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.007219, allocations: 37.64 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.007394, allocations: 171.6 kB / 0.7923 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.007427, allocations: 20.31 kB / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.007465, allocations: 25.94 kB / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.007634, allocations: 117.7 kB / 0.7925 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.007646, allocations: 4.125 kB / 0.7925 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.007663, allocations: 12.36 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.007671, allocations: 2.188 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.007732, allocations: 31.91 kB / 0.7925 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/0.008425, allocations: 0.9063 MB / 0.7934 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.008549, allocations: 138.7 kB / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.008596, allocations: 42.8 kB / 0.7936 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.008608, allocations: 8 kB / 0.7936 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.008795, allocations: 175.5 kB / 0.7938 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.008797, allocations: 0 / 0.7938 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003404/0.009137, allocations: 190.1 kB / 0.7939 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.009198, allocations: 136.5 kB / 0.7941 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.00938, allocations: 280.8 kB / 0.7943 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.009415, allocations: 39.36 kB / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.009506, allocations: 179.2 kB / 0.7946 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.009534, allocations: 35.73 kB / 0.7946 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.009647, allocations: 103.2 kB / 0.7947 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.009767, allocations: 0.5001 MB / 0.7952 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.00998, allocations: 227.5 kB / 0.7954 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.01023, allocations: 345.4 kB / 0.7957 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.01049, allocations: 365.3 kB / 0.7961 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.0105, allocations: 0 / 0.7961 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006025/0.0111, allocations: 0.6216 MB / 0.7967 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.01118, allocations: 137.2 kB / 0.7968 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01119, allocations: 4 kB / 0.7968 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.01121, allocations: 8 kB / 0.7968 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.01129, allocations: 19.36 kB / 0.7968 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01129, allocations: 4 kB / 0.7968 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.01158, allocations: 83.81 kB / 0.7969 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.01161, allocations: 27.98 kB / 0.7969 GB, free: 1.77 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.000132/0.01174, allocations: 190.9 kB / 0.7971 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.01177, allocations: 27.86 kB / 0.7972 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.01181, allocations: 21.33 kB / 0.7972 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01182, allocations: 4 kB / 0.7972 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01182, allocations: 0 / 0.7972 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01183, allocations: 2.219 kB / 0.7972 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01198, allocations: 193.4 kB / 0.7974 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01198, allocations: 0 / 0.7974 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.01201, allocations: 11.94 kB / 0.7974 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01201, allocations: 0 / 0.7974 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01203, allocations: 11.98 kB / 0.7974 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01203, allocations: 0.5 kB / 0.7974 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01203, allocations: 4.906 kB / 0.7974 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.01226, allocations: 215.2 kB / 0.7976 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.01228, allocations: 16.73 kB / 0.7976 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.0123, allocations: 11.98 kB / 0.7976 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.01233, allocations: 4 kB / 0.7976 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.01237, allocations: 17.2 kB / 0.7977 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01238, allocations: 15.92 kB / 0.7977 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.864e-05/0.01248, allocations: 197.1 kB / 0.7979 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01248, allocations: 0.5938 kB / 0.7979 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002337/0.01272, allocations: 71.89 kB / 0.7979 GB, free: 0.6992 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.0001568/0.01287, allocations: 113.9 kB / 0.798 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005604/0.01343, allocations: 0.5556 MB / 0.7986 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01344, allocations: 0 / 0.7986 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.0135, allocations: 52.72 kB / 0.7986 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.01382, allocations: 71.98 kB / 0.7987 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.01431, allocations: 350.1 kB / 0.799 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.01435, allocations: 71.98 kB / 0.7991 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.0144, allocations: 23.67 kB / 0.7991 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.01443, allocations: 16.5 kB / 0.7991 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.01444, allocations: 0 / 0.7991 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of Templates: time 0.007617/0.02205, allocations: 5.501 MB / 0.8045 GB, free: 9.957 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.084166017826647]