Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001637/0.001637, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.001743/0.001743, allocations: 161 kB / 23.82 MB, free: 0.7695 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.9725/0.9725, allocations: 177.1 MB / 204.2 MB, free: 5.238 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.822/1.822, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.832e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001613/0.001642, allocations: 0.8842 MB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.003024, allocations: 1.218 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.003088, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.003127, allocations: 12.55 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.549e-05/0.003213, allocations: 17.03 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.003705, allocations: 155.5 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.003903, allocations: 168.5 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004028, allocations: 21.3 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.004159, allocations: 96.41 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.004255, allocations: 47.86 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.004283, allocations: 16.69 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-05/0.004348, allocations: 27.98 kB / 0.7898 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.004378, allocations: 28.81 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.004436, allocations: 47.89 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.004626, allocations: 144.2 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004628, allocations: 0 / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.223e-06/0.004629, allocations: 3.438 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.004635, allocations: 0 / 0.79 GB, free: 9.539 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.0005678/0.005203, allocations: 0.5086 MB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.005243, allocations: 12.03 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.005303, allocations: 16.89 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.005617, allocations: 186.7 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.005632, allocations: 9.094 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.005665, allocations: 12.38 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.006168, allocations: 88.56 kB / 0.7908 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006175, allocations: 192 / 0.7908 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.006188, allocations: 8.375 kB / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.006196, allocations: 4.125 kB / 0.7908 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.006233, allocations: 23.8 kB / 0.7908 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.006746, allocations: 363.5 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.006798, allocations: 40.59 kB / 0.7912 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.006823, allocations: 15.67 kB / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.006844, allocations: 0 / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.006956, allocations: 82.22 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.006957, allocations: 0 / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001985/0.007155, allocations: 105.4 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.007187, allocations: 52.94 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.007294, allocations: 201.8 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.007314, allocations: 37.64 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.007381, allocations: 154.8 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.007402, allocations: 36.31 kB / 0.7919 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.00746, allocations: 47.98 kB / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.00757, allocations: 0.5 MB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.007653, allocations: 62.2 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.007768, allocations: 198.8 kB / 0.7926 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.007921, allocations: 209.5 kB / 0.7928 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007923, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002607/0.008184, allocations: 248 kB / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.008218, allocations: 41.69 kB / 0.7931 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.008224, allocations: 4 kB / 0.7931 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.008241, allocations: 4.844 kB / 0.7931 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.008313, allocations: 19.98 kB / 0.7931 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.008321, allocations: 10.16 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.008417, allocations: 27.94 kB / 0.7932 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.008435, allocations: 15.98 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 9.288e-05/0.008528, allocations: 175.5 kB / 0.7934 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.008545, allocations: 11.95 kB / 0.7934 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.008577, allocations: 20.7 kB / 0.7934 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.008581, allocations: 8.031 kB / 0.7934 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008585, allocations: 0 / 0.7934 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008589, allocations: 0 / 0.7934 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.008907, allocations: 369.2 kB / 0.7938 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008909, allocations: 0 / 0.7938 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.008955, allocations: 9.281 kB / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008958, allocations: 0 / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.008969, allocations: 4 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.00897, allocations: 0.625 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008972, allocations: 0 / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.009162, allocations: 256.3 kB / 0.794 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.009176, allocations: 12.84 kB / 0.794 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.009191, allocations: 0 / 0.794 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.009233, allocations: 15.92 kB / 0.794 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.009279, allocations: 8.984 kB / 0.794 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.009287, allocations: 7.938 kB / 0.7941 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.009346, allocations: 150.9 kB / 0.7942 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009346, allocations: 0 / 0.7942 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000213/0.009559, allocations: 32.88 kB / 0.7942 GB, free: 4.773 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001425/0.009702, allocations: 112.4 kB / 0.7943 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.009912, allocations: 178.2 kB / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009914, allocations: 0 / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.009954, allocations: 35.23 kB / 0.7945 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.01016, allocations: 19.98 kB / 0.7946 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.01057, allocations: 246.5 kB / 0.7948 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.01062, allocations: 67.78 kB / 0.7949 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.01066, allocations: 15.73 kB / 0.7949 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.01069, allocations: 21.53 kB / 0.7949 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01069, allocations: 0 / 0.7949 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.003826/0.01452, allocations: 1.754 MB / 0.7966 GB, free: 2.316 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.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.277360107284039]