Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_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.00112/0.00112, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003437, allocations: 15.39 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.321, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0009526/0.322, allocations: 428.4 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3231, allocations: 0.8079 MB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.3231, allocations: 0 / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.3232, allocations: 3.938 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.3233, allocations: 3.984 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.633e-05/0.3233, allocations: 12 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.3234, allocations: 51.78 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3235, allocations: 4 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.3236, allocations: 15.97 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.3236, allocations: 19.86 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3237, allocations: 4 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.3237, allocations: 0 / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.3237, allocations: 7.984 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.3238, allocations: 33.64 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.035e-05/0.3238, allocations: 35.94 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3238, allocations: 3.938 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3238, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3239, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 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.000495/0.3244, allocations: 375.6 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3244, allocations: 11.97 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.3244, allocations: 4.938 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3246, allocations: 168.2 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3246, allocations: 8.312 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3246, allocations: 384 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.3249, allocations: 82.22 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3249, allocations: 4.172 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3249, allocations: 3.938 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3249, allocations: 0 / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.3253, allocations: 87.92 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.3256, allocations: 269 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3259, allocations: 78.41 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3261, allocations: 48.92 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3261, allocations: 7.984 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3261, allocations: 34.56 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.3261, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005869/0.3267, allocations: 165.4 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3268, allocations: 51.41 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.3269, allocations: 117.8 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3269, allocations: 25.7 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3269, allocations: 88.12 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.327, allocations: 7.906 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.327, allocations: 9.719 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3271, allocations: 314.8 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3273, allocations: 47.95 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3274, allocations: 43.97 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.3277, allocations: 88.78 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3278, allocations: 3.938 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003508/0.3281, allocations: 125.5 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3281, allocations: 4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3281, allocations: 4 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3282, allocations: 0 / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3283, allocations: 23.91 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3283, allocations: 4 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.3284, allocations: 19.98 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3284, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 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.383e-05/0.3285, allocations: 113.8 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.3285, allocations: 4 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.3286, allocations: 3.906 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3286, allocations: 0 / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3286, allocations: 8 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3286, allocations: 3.984 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3288, allocations: 169.6 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3288, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.3289, allocations: 19.98 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3289, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3289, allocations: 4 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3289, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3289, allocations: 4 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.3293, allocations: 227.6 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.3294, allocations: 81.09 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3294, allocations: 3.984 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3295, allocations: 15.98 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3296, allocations: 11.98 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.3296, allocations: 4 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.3296, allocations: 83.28 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3296, allocations: 0 / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002151/0.3298, allocations: 8 kB / 1.064 GB, free: 116 kB / 0.8106 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.0001565/0.33, allocations: 103.2 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.3304, allocations: 91.86 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3304, allocations: 3.938 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.3306, allocations: 47.97 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3309, allocations: 11.92 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.3312, allocations: 170.1 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3315, allocations: 0.6809 MB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.3315, allocations: 11.44 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3315, allocations: 0 / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.002082/0.3336, allocations: 0.7221 MB / 1.065 GB, free: 14.21 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches