Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 189.9 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 73.53 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4019, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002177/0.4041, allocations: 0.7711 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.4051, allocations: 0.804 MB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.4051, allocations: 3.938 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.4052, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.4053, allocations: 19.91 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.086e-05/0.4054, allocations: 4 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.4055, allocations: 43.84 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.4057, allocations: 8 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.4058, allocations: 15.98 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.4058, allocations: 19.86 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.4058, allocations: 4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.4059, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.4059, allocations: 11.98 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.4059, allocations: 19.88 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.406, allocations: 39.8 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.406, allocations: 7.984 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.512e-06/0.406, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4061, allocations: 4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005895/0.4066, allocations: 353.4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4067, allocations: 12.03 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.4067, allocations: 4.844 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4069, allocations: 172.3 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.4069, allocations: 384 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.4069, allocations: 4.375 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4072, allocations: 74.14 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4072, allocations: 192 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4072, allocations: 3.938 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4072, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.4075, allocations: 71.86 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.4079, allocations: 264.9 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.4081, allocations: 62.47 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4083, allocations: 44.91 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4083, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4084, allocations: 34.56 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4084, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005703/0.409, allocations: 129.5 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.409, allocations: 55.39 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.4091, allocations: 105.9 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4091, allocations: 25.7 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.4092, allocations: 92.03 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4092, allocations: 7.906 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.4093, allocations: 17.72 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4094, allocations: 318.8 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4096, allocations: 27.97 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4097, allocations: 27.97 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.41, allocations: 76.72 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.41, allocations: 7.875 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000311/0.4103, allocations: 93.91 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4103, allocations: 4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4104, allocations: 3.984 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4104, allocations: 4.031 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4105, allocations: 19.98 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4105, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.4106, allocations: 11.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.4106, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.546e-05/0.4107, allocations: 117.8 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.4108, allocations: 3.906 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.4108, allocations: 11.89 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4108, allocations: 8 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4108, allocations: 0 / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4108, allocations: 3.938 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.411, allocations: 165.6 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.411, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.4111, allocations: 15.98 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4111, allocations: 3.984 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.4111, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4112, allocations: 3.938 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4112, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4115, allocations: 191.4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.4116, allocations: 84.95 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4116, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4117, allocations: 19.97 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.4118, allocations: 8 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.4118, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.4118, allocations: 87.27 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.864e-06/0.4119, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002117/0.4121, allocations: 7.938 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001578/0.4122, allocations: 99.25 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.4126, allocations: 67.92 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4126, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.4128, allocations: 35.95 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.4132, allocations: 15.88 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.4136, allocations: 139.1 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.414, allocations: 0.6809 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.192e-05/0.414, allocations: 3.984 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.4141, allocations: 7.438 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4141, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of Templates: time 0.00315/0.4172, allocations: 0.5443 MB / 1.074 GB, free: 4.332 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1)