Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00145/0.00145, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001598/0.001598, allocations: 169 kB / 24.05 MB, free: 460 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.054/1.054, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.09/2.09, allocations: 429.5 MB / 0.6743 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.075e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002089/0.002119, allocations: 0.9535 MB / 0.8803 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.003928, allocations: 1.488 MB / 0.8818 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.004007, allocations: 0.5 kB / 0.8818 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.004052, allocations: 21.48 kB / 0.8818 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.004192, allocations: 59.52 kB / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.004937, allocations: 424.5 kB / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.005353, allocations: 495.7 kB / 0.8827 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.005469, allocations: 43.47 kB / 0.8828 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.00571, allocations: 259.6 kB / 0.883 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.005897, allocations: 131.7 kB / 0.8832 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.005952, allocations: 55.94 kB / 0.8832 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.006046, allocations: 58.05 kB / 0.8833 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.006081, allocations: 47.77 kB / 0.8833 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.006182, allocations: 135.8 kB / 0.8834 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.006494, allocations: 331.2 kB / 0.8838 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006497, allocations: 3.938 kB / 0.8838 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/0.006499, allocations: 2.469 kB / 0.8838 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.006505, allocations: 0 / 0.8838 GB, free: 1.559 MB / 0.8386 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.0006132/0.007118, allocations: 0.6623 MB / 0.8844 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.007153, allocations: 8.031 kB / 0.8844 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/0.007225, allocations: 44.73 kB / 0.8845 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.00734, allocations: 159.8 kB / 0.8846 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.007365, allocations: 16.36 kB / 0.8846 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.0074, allocations: 25.09 kB / 0.8847 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.007521, allocations: 125.5 kB / 0.8848 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.00753, allocations: 1.531 kB / 0.8848 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.00754, allocations: 4.375 kB / 0.8848 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007546, allocations: 4.375 kB / 0.8848 GB, free: 416 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.007585, allocations: 31.84 kB / 0.8848 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.00818, allocations: 0.8718 MB / 0.8857 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.008279, allocations: 124.4 kB / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.008315, allocations: 46.73 kB / 0.8858 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.008322, allocations: 0 / 0.8858 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.008479, allocations: 175.5 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.416e-06/0.008483, allocations: 4 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002597/0.008742, allocations: 178 kB / 0.8862 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.008802, allocations: 140.5 kB / 0.8863 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.00897, allocations: 280.2 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.009008, allocations: 37.7 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.009103, allocations: 183.2 kB / 0.8868 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.00913, allocations: 35.77 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.009251, allocations: 91.28 kB / 0.8869 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.009382, allocations: 0.5118 MB / 0.8874 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.009563, allocations: 206.9 kB / 0.8876 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.009777, allocations: 326.4 kB / 0.8879 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.01003, allocations: 346.8 kB / 0.8882 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01003, allocations: 0 / 0.8882 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005506/0.01058, allocations: 0.6042 MB / 0.8888 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.01066, allocations: 134.8 kB / 0.889 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01067, allocations: 288 / 0.889 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01068, allocations: 4 kB / 0.889 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.01074, allocations: 19.92 kB / 0.889 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01075, allocations: 4 kB / 0.889 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.01102, allocations: 88.06 kB / 0.8891 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.01105, allocations: 19.98 kB / 0.8891 GB, free: 11.51 MB / 0.8542 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.0001184/0.01117, allocations: 193.3 kB / 0.8893 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.0112, allocations: 35.8 kB / 0.8893 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.01124, allocations: 17.33 kB / 0.8893 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01124, allocations: 4 kB / 0.8893 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.01124, allocations: 0 / 0.8893 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01125, allocations: 4 kB / 0.8893 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.01139, allocations: 165.2 kB / 0.8895 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01139, allocations: 0 / 0.8895 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.01141, allocations: 11.94 kB / 0.8895 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01142, allocations: 3.938 kB / 0.8895 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.01143, allocations: 4 kB / 0.8895 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01143, allocations: 0 / 0.8895 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.01143, allocations: 7.984 kB / 0.8895 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.01161, allocations: 210.6 kB / 0.8897 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.01164, allocations: 23.84 kB / 0.8897 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.01166, allocations: 7.938 kB / 0.8897 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.01169, allocations: 8 kB / 0.8898 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.01172, allocations: 15.97 kB / 0.8898 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.01173, allocations: 8 kB / 0.8898 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.488e-05/0.01182, allocations: 185.1 kB / 0.89 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 3.938 kB / 0.89 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002276/0.01204, allocations: 75.92 kB / 0.89 GB, free: 10.48 MB / 0.8542 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.0001322/0.01218, allocations: 103.4 kB / 0.8901 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.01256, allocations: 0.5428 MB / 0.8907 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01256, allocations: 0 / 0.8907 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.01261, allocations: 47.59 kB / 0.8907 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.01289, allocations: 64.83 kB / 0.8908 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.01329, allocations: 346.9 kB / 0.8911 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.01333, allocations: 75.98 kB / 0.8912 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.01338, allocations: 21.62 kB / 0.8912 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.01358, allocations: 154.1 kB / 0.8913 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of SimCode: time 1.223e-06/0.01358, allocations: 0 / 0.8913 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of Templates: time 0.007114/0.0207, allocations: 5.618 MB / 0.8968 GB, free: 3.488 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.576730763074011]