Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001863/0.001863, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.618/2.618, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 16 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.893, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001188/0.8942, allocations: 491.6 kB / 0.9549 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.8956, allocations: 0.8543 MB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.8957, allocations: 1.156 kB / 0.9558 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.8957, allocations: 5.094 kB / 0.9558 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.8958, allocations: 5.5 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.896, allocations: 33.77 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.8962, allocations: 71.48 kB / 0.9559 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.8963, allocations: 24.91 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.8965, allocations: 31.66 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.8966, allocations: 36.53 kB / 0.956 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.8967, allocations: 7.375 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.364e-05/0.8967, allocations: 3.844 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.8967, allocations: 18.88 kB / 0.956 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.8968, allocations: 36.88 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.8969, allocations: 59.23 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.897, allocations: 1.469 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.464e-06/0.897, allocations: 0 / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.897, allocations: 0 / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000815/0.8978, allocations: 398.2 kB / 0.9565 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.432e-05/0.8979, allocations: 9.875 kB / 0.9565 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.898, allocations: 7.281 kB / 0.9565 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.8982, allocations: 175.2 kB / 0.9566 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.8982, allocations: 2.781 kB / 0.9566 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.8983, allocations: 8.094 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.8987, allocations: 117.7 kB / 0.9568 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.8988, allocations: 0 / 0.9568 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.8988, allocations: 1.281 kB / 0.9568 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.8988, allocations: 5.203 kB / 0.9568 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.8994, allocations: 122.4 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.9002, allocations: 339.5 kB / 0.9572 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.901, allocations: 139.7 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.9013, allocations: 69.25 kB / 0.9574 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.9013, allocations: 3.984 kB / 0.9574 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.9013, allocations: 34.56 kB / 0.9574 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 3.356e-06/0.9014, allocations: 3.984 kB / 0.9574 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0008542/0.9022, allocations: 212.7 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.9023, allocations: 52.66 kB / 0.9577 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.9024, allocations: 128.3 kB / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.9024, allocations: 27.39 kB / 0.9578 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.9024, allocations: 95.06 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.9025, allocations: 22.44 kB / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.9025, allocations: 4 kB / 0.958 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.9026, allocations: 316.2 kB / 0.9583 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.9028, allocations: 62.52 kB / 0.9583 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.903, allocations: 53.61 kB / 0.9584 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.9033, allocations: 61.25 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9033, allocations: 0 / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005308/0.9038, allocations: 163.1 kB / 0.9586 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.9039, allocations: 5.219 kB / 0.9586 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9039, allocations: 0 / 0.9586 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9039, allocations: 1.469 kB / 0.9586 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.9041, allocations: 32.56 kB / 0.9586 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9041, allocations: 2.031 kB / 0.9586 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.9043, allocations: 19.31 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.9043, allocations: 1.844 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.702e-05/0.9044, allocations: 113.9 kB / 0.9588 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.9045, allocations: 9.922 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.9045, allocations: 22.34 kB / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.9045, allocations: 1.844 kB / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.9046, allocations: 0 / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9046, allocations: 3.984 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.9048, allocations: 191.6 kB / 0.959 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9048, allocations: 0 / 0.959 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.905, allocations: 29.19 kB / 0.959 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.905, allocations: 9.328 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.9051, allocations: 7.984 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.9051, allocations: 1.438 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9051, allocations: 0 / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.9057, allocations: 262.2 kB / 0.9593 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.9057, allocations: 79.89 kB / 0.9593 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.9058, allocations: 3.953 kB / 0.9594 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.906, allocations: 20.36 kB / 0.9594 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.9061, allocations: 22.84 kB / 0.9594 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.9061, allocations: 1.375 kB / 0.9594 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.9061, allocations: 97.27 kB / 0.9595 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9062, allocations: 1.375 kB / 0.9595 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003764/0.9065, allocations: 18.84 kB / 0.9595 GB, free: 3.422 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.9067, allocations: 112.8 kB / 0.9596 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.9072, allocations: 120.9 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.9072, allocations: 4 kB / 0.9597 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.9075, allocations: 72.72 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.908, allocations: 16 kB / 0.9598 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.9085, allocations: 190.6 kB / 0.96 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.9087, allocations: 0.6904 MB / 0.9607 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.9088, allocations: 9.688 kB / 0.9607 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.9089, allocations: 16.92 kB / 0.9607 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.9089, allocations: 0 / 0.9607 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.006676/0.9156, allocations: 1.302 MB / 0.962 GB, free: 1.68 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches