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.001434/0.001434, 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.00169/0.00169, allocations: 161.4 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.9971/0.9971, allocations: 177.2 MB / 204.2 MB, free: 5.297 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.802/1.802, allocations: 359 MB / 0.6052 GB, free: 11.02 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 4.047e-06/4.047e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.889e-05, allocations: 2.312 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.002539/0.002578, allocations: 0.8867 MB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.004564, allocations: 1.219 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.004656, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.484e-05/0.004711, allocations: 11.81 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.004836, allocations: 20.61 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.005498, allocations: 152.9 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.005761, allocations: 167.6 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.005914, allocations: 30.62 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.006121, allocations: 99.84 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.006254, allocations: 51.86 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.006289, allocations: 9.5 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.006369, allocations: 27.92 kB / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.006405, allocations: 23.91 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.006485, allocations: 35.92 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.006756, allocations: 125 kB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.00676, allocations: 0 / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006761, allocations: 0 / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.006768, allocations: 0 / 0.7899 GB, free: 9.566 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.0008134/0.007581, allocations: 0.5194 MB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.007637, allocations: 8.031 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.007728, allocations: 20.89 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.007974, allocations: 164.3 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.007996, allocations: 4.375 kB / 0.7906 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.00804, allocations: 16.38 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.008254, allocations: 94.64 kB / 0.7908 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.008266, allocations: 192 / 0.7908 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.008282, allocations: 4.375 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.008294, allocations: 4.969 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.008343, allocations: 21.11 kB / 0.7908 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.009099, allocations: 363.4 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.047e-05/0.009169, allocations: 32.44 kB / 0.7912 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.009198, allocations: 11.69 kB / 0.7912 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.009221, allocations: 4 kB / 0.7912 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.009367, allocations: 94.75 kB / 0.7913 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.009369, allocations: 3.938 kB / 0.7913 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002784/0.009647, allocations: 93.84 kB / 0.7914 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.009694, allocations: 56.94 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.009839, allocations: 199.7 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.009868, allocations: 33.7 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.009981, allocations: 158.8 kB / 0.7918 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.01001, allocations: 29.5 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.01009, allocations: 47.34 kB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01023, allocations: 0.5 MB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.01034, allocations: 65.67 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.0105, allocations: 183.6 kB / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01071, allocations: 219 kB / 0.7928 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.01071, allocations: 0 / 0.7928 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003566/0.01107, allocations: 246.7 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.01112, allocations: 38.3 kB / 0.7931 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01113, allocations: 4 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01115, allocations: 4.688 kB / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01125, allocations: 23.92 kB / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.01126, allocations: 9.109 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.0114, allocations: 32.69 kB / 0.7931 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.01143, allocations: 11.98 kB / 0.7931 GB, free: 5.941 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 0.0001043/0.01153, allocations: 177 kB / 0.7933 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.01156, allocations: 16.8 kB / 0.7933 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.01159, allocations: 8.781 kB / 0.7933 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01159, allocations: 1.969 kB / 0.7933 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.0116, allocations: 7.984 kB / 0.7933 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.0116, allocations: 0 / 0.7933 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.01203, allocations: 369.3 kB / 0.7937 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01203, allocations: 0 / 0.7937 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.01211, allocations: 12.64 kB / 0.7937 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.01212, allocations: 2.484 kB / 0.7937 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01213, allocations: 3.984 kB / 0.7937 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01213, allocations: 0 / 0.7937 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01214, allocations: 7.938 kB / 0.7937 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.01239, allocations: 255.7 kB / 0.794 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.01241, allocations: 7.906 kB / 0.794 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01243, allocations: 9.781 kB / 0.794 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.0125, allocations: 11.98 kB / 0.794 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.01257, allocations: 7.984 kB / 0.794 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.01258, allocations: 4 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.01265, allocations: 144.1 kB / 0.7941 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01265, allocations: 4.531 kB / 0.7942 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003085/0.01296, allocations: 35.92 kB / 0.7942 GB, free: 4.816 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.0002175/0.01317, allocations: 100.4 kB / 0.7943 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.01346, allocations: 182.4 kB / 0.7945 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01347, allocations: 0.6562 kB / 0.7945 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.01353, allocations: 36.45 kB / 0.7945 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.01385, allocations: 23.67 kB / 0.7945 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.01441, allocations: 250.4 kB / 0.7948 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.01446, allocations: 67.84 kB / 0.7948 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.25e-05/0.01453, allocations: 14.95 kB / 0.7948 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.01456, allocations: 17.62 kB / 0.7948 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of SimCode: time 1.253e-06/0.01456, allocations: 0 / 0.7948 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.005756/0.02032, allocations: 1.887 MB / 0.7967 GB, free: 2.227 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.162445273716003]