Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001277/0.001277, allocations: 103.5 kB / 16.4 MB, free: 6.469 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.001272/0.001272, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.09 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8228, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002466/0.8253, allocations: 0.7072 MB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.8265, allocations: 0.8001 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.8265, allocations: 0 / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.8266, allocations: 3.938 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.8267, allocations: 11.92 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.911e-05/0.8268, allocations: 11.98 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.8269, allocations: 51.78 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.8271, allocations: 15.98 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.8272, allocations: 11.98 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.8272, allocations: 19.86 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.8273, allocations: 4 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.8273, allocations: 4 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.8273, allocations: 4 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.8274, allocations: 27.86 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.8275, allocations: 39.86 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8275, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8275, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.8275, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 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.0005803/0.8281, allocations: 375.8 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8282, allocations: 12.92 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.8282, allocations: 4.891 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.8284, allocations: 176.3 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.8284, allocations: 384 / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.8284, allocations: 4.375 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.8287, allocations: 70.2 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.8287, allocations: 192 / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8287, allocations: 3.938 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.8287, allocations: 0 / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.829, allocations: 63.94 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.8294, allocations: 280.8 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.8296, allocations: 54.47 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.8298, allocations: 52.91 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.8298, allocations: 0 / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.8299, allocations: 30.56 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.8299, allocations: 0 / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005192/0.8304, allocations: 129.5 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.8304, allocations: 51.41 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.8306, allocations: 109.8 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.8306, allocations: 25.7 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.8307, allocations: 90.56 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.8307, allocations: 19.84 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.8307, allocations: 13.66 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8309, allocations: 318.8 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.831, allocations: 31.95 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.8311, allocations: 28.02 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.8314, allocations: 72.73 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8314, allocations: 3.938 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002814/0.8317, allocations: 101.6 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.8317, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8317, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.8317, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.8319, allocations: 19.97 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8319, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.832, allocations: 11.98 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.832, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 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 0.0001062/0.8321, allocations: 113.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.8321, allocations: 3.953 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.8322, allocations: 7.906 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8322, allocations: 7.984 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8322, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8322, allocations: 7.938 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.8324, allocations: 169.6 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8324, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/0.8325, allocations: 11.98 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.8325, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.8325, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8325, allocations: 3.938 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8325, allocations: 3.984 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.8329, allocations: 195.8 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.8329, allocations: 81.11 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.8329, allocations: 7.984 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.833, allocations: 7.984 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.8331, allocations: 7.984 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.8331, allocations: 8 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.8331, allocations: 87.58 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8332, allocations: 4 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002408/0.8334, allocations: 4 kB / 1.172 GB, free: 14.95 MB / 0.9044 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.0001532/0.8336, allocations: 107.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.8339, allocations: 71.86 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8339, allocations: 4 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.834, allocations: 31.97 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.8344, allocations: 13.64 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.8347, allocations: 147.1 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.835, allocations: 0.6846 MB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.835, allocations: 11.44 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.835, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.002051/0.8371, allocations: 0.7404 MB / 1.174 GB, free: 13.09 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches