Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.008988/0.008988, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 14.31 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0009588/0.3655, allocations: 438.6 kB / 1.075 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3668, allocations: 0.804 MB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.3668, allocations: 0 / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.3669, allocations: 3.984 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.3669, allocations: 3.938 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.516e-05/0.367, allocations: 11.98 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.3671, allocations: 43.86 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3672, allocations: 12 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.3673, allocations: 11.92 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3674, allocations: 19.86 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3674, allocations: 4 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.3674, allocations: 0 / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.3674, allocations: 15.97 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3675, allocations: 37.58 kB / 1.076 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.778e-05/0.3676, allocations: 47.8 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3676, allocations: 0 / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3676, allocations: 0 / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3676, allocations: 0 / 1.076 GB, free: 6.125 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.0005928/0.3682, allocations: 367.7 kB / 1.076 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3682, allocations: 12.03 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.3683, allocations: 4.922 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3684, allocations: 176.2 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3684, allocations: 384 / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3684, allocations: 4.375 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3687, allocations: 82.16 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3687, allocations: 192 / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3688, allocations: 3.938 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3688, allocations: 4 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.3691, allocations: 83.92 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.3695, allocations: 265 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3697, allocations: 74.47 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3699, allocations: 56.86 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.3699, allocations: 0 / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.37, allocations: 30.56 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.37, allocations: 0 / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000604/0.3706, allocations: 177.5 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.3707, allocations: 51.41 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.3708, allocations: 105.8 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3708, allocations: 25.7 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3709, allocations: 92.12 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.371, allocations: 11.8 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.371, allocations: 9.719 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3712, allocations: 318.8 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3714, allocations: 43.91 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3716, allocations: 47.95 kB / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.3719, allocations: 92.78 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3719, allocations: 3.938 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003605/0.3723, allocations: 117.6 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3723, allocations: 7.938 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3723, allocations: 0 / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3723, allocations: 0 / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3725, allocations: 23.98 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.3725, allocations: 3.938 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.3726, allocations: 23.97 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.3726, allocations: 0 / 1.078 GB, free: 3.625 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 8.401e-05/0.3727, allocations: 121.7 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.3727, allocations: 3.906 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.3728, allocations: 3.906 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3728, allocations: 4 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3728, allocations: 4 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3728, allocations: 0 / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.373, allocations: 173.6 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.373, allocations: 0 / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3731, allocations: 19.98 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3731, allocations: 0 / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3731, allocations: 0 / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3731, allocations: 0 / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3731, allocations: 0 / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.3736, allocations: 227.3 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.3736, allocations: 88.95 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3737, allocations: 0 / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3738, allocations: 15.98 kB / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.3738, allocations: 7.984 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3738, allocations: 0 / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.3739, allocations: 87.28 kB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3739, allocations: 0 / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002198/0.3741, allocations: 12 kB / 1.079 GB, free: 2.77 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.0002565/0.3744, allocations: 99.23 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.3748, allocations: 91.92 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3748, allocations: 0 / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.3749, allocations: 48.38 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3753, allocations: 7.938 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.3756, allocations: 142.9 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.3761, allocations: 0.6848 MB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.3762, allocations: 4 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.3762, allocations: 7.438 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3762, allocations: 0 / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.002702/0.3789, allocations: 0.5461 MB / 1.08 GB, free: 1.094 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1)