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.00103/0.00103, allocations: 83.59 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.001087/0.001087, allocations: 165 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.9976/0.9976, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.837/1.837, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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.436e-06/3.436e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.547e-05, allocations: 10.84 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002484/0.002519, allocations: 0.9541 MB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.004516, allocations: 1.488 MB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/0.004592, allocations: 4 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.00464, allocations: 13.03 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.004791, allocations: 63.5 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.005652, allocations: 433.1 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.00608, allocations: 0.4887 MB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.0062, allocations: 21.95 kB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.00644, allocations: 272.1 kB / 0.7908 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.006631, allocations: 135.6 kB / 0.7909 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.00669, allocations: 49.03 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.925e-05/0.006789, allocations: 59.98 kB / 0.791 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.006827, allocations: 39.78 kB / 0.791 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.006954, allocations: 137.7 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.007315, allocations: 343.1 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.00732, allocations: 0 / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.284e-06/0.007322, allocations: 0 / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.00733, allocations: 3.938 kB / 0.7915 GB, free: 7.98 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.0007639/0.008093, allocations: 0.6514 MB / 0.7921 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.008136, allocations: 9.094 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.008225, allocations: 40.78 kB / 0.7922 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.008377, allocations: 171.7 kB / 0.7923 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.008407, allocations: 17.88 kB / 0.7923 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.008447, allocations: 28.36 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.008603, allocations: 121.7 kB / 0.7925 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.008614, allocations: 4.172 kB / 0.7925 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.008627, allocations: 5.969 kB / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008634, allocations: 384 / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.008694, allocations: 35.84 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.009407, allocations: 0.9042 MB / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.009544, allocations: 136.2 kB / 0.7935 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.009595, allocations: 46.8 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.009606, allocations: 6.469 kB / 0.7936 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.009792, allocations: 171.6 kB / 0.7938 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.009793, allocations: 0 / 0.7938 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003382/0.01013, allocations: 193.3 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.01019, allocations: 132.5 kB / 0.7941 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.01041, allocations: 284.9 kB / 0.7943 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/0.01045, allocations: 37.7 kB / 0.7944 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.01055, allocations: 177 kB / 0.7946 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.01058, allocations: 35.73 kB / 0.7946 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.0107, allocations: 95.31 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.01084, allocations: 0.5001 MB / 0.7952 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.01107, allocations: 238.9 kB / 0.7954 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.01132, allocations: 345.8 kB / 0.7957 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.01162, allocations: 360.3 kB / 0.7961 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01162, allocations: 1.938 kB / 0.7961 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006496/0.01227, allocations: 0.6298 MB / 0.7967 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/0.01235, allocations: 138.8 kB / 0.7968 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01236, allocations: 0 / 0.7968 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.01238, allocations: 4 kB / 0.7968 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.01246, allocations: 15.94 kB / 0.7968 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.01247, allocations: 7.984 kB / 0.7968 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.01275, allocations: 84.17 kB / 0.7969 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.01279, allocations: 27.97 kB / 0.7969 GB, free: 1.801 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.000112/0.0129, allocations: 185 kB / 0.7971 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.01293, allocations: 33.16 kB / 0.7972 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.01297, allocations: 17.34 kB / 0.7972 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01297, allocations: 4 kB / 0.7972 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01298, allocations: 0 / 0.7972 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.01299, allocations: 9.141 kB / 0.7972 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.01313, allocations: 184.5 kB / 0.7974 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01313, allocations: 3.984 kB / 0.7974 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.01316, allocations: 13.36 kB / 0.7974 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01316, allocations: 0 / 0.7974 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01317, allocations: 8 kB / 0.7974 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01318, allocations: 7.938 kB / 0.7974 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01318, allocations: 0.9062 kB / 0.7974 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.0134, allocations: 218.4 kB / 0.7976 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.01342, allocations: 20.73 kB / 0.7976 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.01344, allocations: 4 kB / 0.7976 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.01347, allocations: 5.281 kB / 0.7976 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.01351, allocations: 19.91 kB / 0.7977 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01352, allocations: 12 kB / 0.7977 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.957e-05/0.01362, allocations: 193.1 kB / 0.7978 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01362, allocations: 0.5625 kB / 0.7978 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002361/0.01386, allocations: 72.67 kB / 0.7979 GB, free: 0.7383 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.0001408/0.014, allocations: 117 kB / 0.798 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.01447, allocations: 0.5593 MB / 0.7986 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01447, allocations: 3.469 kB / 0.7986 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.01454, allocations: 51.59 kB / 0.7986 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.01484, allocations: 68.11 kB / 0.7987 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.01532, allocations: 350.1 kB / 0.799 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.01537, allocations: 72 kB / 0.7991 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.431e-05/0.01542, allocations: 23.75 kB / 0.7991 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.01546, allocations: 23.25 kB / 0.7991 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/0.01546, allocations: 0 / 0.7991 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of Templates: time 0.006512/0.02197, allocations: 5.061 MB / 0.8041 GB, free: 10.42 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.302292110864073]