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.0009646/0.0009646, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001031/0.001031, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9835/0.9835, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.348/2.348, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 1.854e-06/1.854e-06, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.772e-05, allocations: 9.484 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001543/0.001571, allocations: 0.9409 MB / 0.8907 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.003062, allocations: 1.481 MB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.003132, allocations: 0 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.003171, allocations: 15.75 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.003307, allocations: 59.52 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.004063, allocations: 443 kB / 0.8926 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.004516, allocations: 499 kB / 0.8931 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.004637, allocations: 29.94 kB / 0.8931 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.004924, allocations: 259.6 kB / 0.8934 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.005118, allocations: 131.7 kB / 0.8935 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.005174, allocations: 52 kB / 0.8935 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.005284, allocations: 59.92 kB / 0.8936 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.005321, allocations: 43.84 kB / 0.8936 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.005433, allocations: 135.8 kB / 0.8938 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.005771, allocations: 343 kB / 0.8941 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005774, allocations: 4 kB / 0.8941 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005776, allocations: 0 / 0.8941 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.005783, allocations: 0 / 0.8941 GB, free: 5.254 MB / 0.8542 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.0006728/0.006456, allocations: 0.6662 MB / 0.8948 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.0065, allocations: 8.031 kB / 0.8948 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.006578, allocations: 40.8 kB / 0.8948 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.006708, allocations: 155.8 kB / 0.895 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.006737, allocations: 16.36 kB / 0.895 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.006773, allocations: 28.38 kB / 0.895 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.006911, allocations: 121.6 kB / 0.8951 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.00692, allocations: 192 / 0.8951 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.006929, allocations: 4.375 kB / 0.8951 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.006936, allocations: 4.375 kB / 0.8951 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.342e-05/0.00698, allocations: 27.84 kB / 0.8951 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.007664, allocations: 0.8756 MB / 0.896 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.007777, allocations: 132.4 kB / 0.8961 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.007818, allocations: 46.73 kB / 0.8962 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.007828, allocations: 7.938 kB / 0.8962 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.008007, allocations: 170.2 kB / 0.8963 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.008008, allocations: 0 / 0.8963 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0003007/0.008309, allocations: 177.4 kB / 0.8965 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.008377, allocations: 140.5 kB / 0.8966 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.008555, allocations: 284.1 kB / 0.8969 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.008598, allocations: 37.7 kB / 0.897 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.008706, allocations: 187.2 kB / 0.8971 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.008735, allocations: 35.7 kB / 0.8972 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.00885, allocations: 99.28 kB / 0.8973 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.009005, allocations: 0.504 MB / 0.8978 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.009191, allocations: 207 kB / 0.8979 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.00941, allocations: 321.7 kB / 0.8983 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.009671, allocations: 346.8 kB / 0.8986 GB, free: 152 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.009674, allocations: 0 / 0.8986 GB, free: 152 kB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000528/0.0102, allocations: 0.5965 MB / 0.8992 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.01027, allocations: 137.3 kB / 0.8993 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01028, allocations: 4 kB / 0.8993 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.01029, allocations: 256 / 0.8993 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.01034, allocations: 27.92 kB / 0.8993 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01035, allocations: 4 kB / 0.8993 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.01059, allocations: 79.81 kB / 0.8994 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.01062, allocations: 27.92 kB / 0.8994 GB, free: 15.2 MB / 0.8698 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.0001231/0.01075, allocations: 185.5 kB / 0.8996 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.01078, allocations: 31.8 kB / 0.8996 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.01081, allocations: 21.33 kB / 0.8997 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01082, allocations: 4 kB / 0.8997 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01082, allocations: 0 / 0.8997 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01082, allocations: 7.938 kB / 0.8997 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.01096, allocations: 161.1 kB / 0.8998 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.01096, allocations: 4 kB / 0.8998 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.01098, allocations: 11.98 kB / 0.8998 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.01099, allocations: 3.938 kB / 0.8998 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.01099, allocations: 11.83 kB / 0.8999 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.011, allocations: 0 / 0.8999 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.011, allocations: 4 kB / 0.8999 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.01118, allocations: 203.3 kB / 0.9001 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.0112, allocations: 24.78 kB / 0.9001 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01122, allocations: 7.938 kB / 0.9001 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.01124, allocations: 4 kB / 0.9001 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.01128, allocations: 15.97 kB / 0.9001 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01128, allocations: 4 kB / 0.9001 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.314e-05/0.01137, allocations: 189.1 kB / 0.9003 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01137, allocations: 0 / 0.9003 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002258/0.01159, allocations: 71.94 kB / 0.9004 GB, free: 14.18 MB / 0.8698 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.0001212/0.01171, allocations: 111.9 kB / 0.9005 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.01209, allocations: 0.5324 MB / 0.901 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01209, allocations: 0 / 0.901 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.01214, allocations: 55.95 kB / 0.901 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01241, allocations: 64.88 kB / 0.9011 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.0128, allocations: 350 kB / 0.9014 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.057e-05/0.01284, allocations: 75.86 kB / 0.9015 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.743e-05/0.01288, allocations: 25.62 kB / 0.9015 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.01308, allocations: 154.1 kB / 0.9017 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/0.01308, allocations: 0 / 0.9017 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of Templates: time 0.006669/0.01975, allocations: 5.489 MB / 0.907 GB, free: 7.309 MB / 0.8698 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.410191772971302]