Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008361/0.008361, allocations: 101.7 kB / 15.73 MB, free: 6.035 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.00193/0.00193, allocations: 199 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.261/2.261, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.994/3.994, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002194, allocations: 69.52 kB / 0.9504 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4946, allocations: 140.4 MB / 1.088 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.004149/0.4989, allocations: 0.6981 MB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.5012, allocations: 0.8004 MB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.5013, allocations: 3.938 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.162e-05/0.5015, allocations: 3.938 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.5016, allocations: 7.938 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.5018, allocations: 11.98 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.502, allocations: 47.84 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.5022, allocations: 8 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.5023, allocations: 19.92 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.5024, allocations: 27.84 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.5025, allocations: 7.984 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.5025, allocations: 4 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.5025, allocations: 4 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.5026, allocations: 15.92 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.5028, allocations: 39.81 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5028, allocations: 4 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.397e-06/0.5029, allocations: 0 / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.5029, allocations: 0 / 1.089 GB, free: 208 kB / 0.8419 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.001167/0.5041, allocations: 358.3 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001022/0.5042, allocations: 12.03 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.677e-05/0.5043, allocations: 34.73 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.5044, allocations: 4.844 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.5047, allocations: 169.2 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.5047, allocations: 8.375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.5048, allocations: 4.375 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.5052, allocations: 70.16 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5053, allocations: 7.922 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5053, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5053, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.5058, allocations: 67.92 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.5066, allocations: 272.8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.507, allocations: 58.47 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.5072, allocations: 48.92 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.5073, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.5073, allocations: 34.55 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/0.5073, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0009229/0.5083, allocations: 125.6 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.5084, allocations: 51.41 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.5086, allocations: 117.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.5086, allocations: 25.7 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.5087, allocations: 84.14 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5088, allocations: 15.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.5088, allocations: 13.72 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003636/0.5092, allocations: 318.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.5095, allocations: 39.83 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.5097, allocations: 31.97 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.5102, allocations: 76.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5102, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005388/0.5108, allocations: 93.62 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.5108, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5108, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/0.5109, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.5111, allocations: 19.91 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.5112, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.5113, allocations: 15.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.5113, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 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.0001732/0.5115, allocations: 117.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.5116, allocations: 3.906 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.5117, allocations: 7.906 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5117, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.5117, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5117, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.512, allocations: 173.6 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5121, allocations: 336 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.5122, allocations: 11.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.5122, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.5123, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5123, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.5123, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/0.513, allocations: 207.3 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.5132, allocations: 81.02 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.5132, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.5134, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.5135, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.5136, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001026/0.5137, allocations: 91.28 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.11e-07/0.5137, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004346/0.5141, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 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.001559/0.5157, allocations: 0.728 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006233/0.5164, allocations: 71.86 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5164, allocations: 3.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.5167, allocations: 43.95 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.5173, allocations: 7.938 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.5184, allocations: 167.2 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.519, allocations: 0.6768 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.706e-05/0.5191, allocations: 4 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.5192, allocations: 11.44 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.5192, allocations: 7.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.5504, allocations: 1.63 MB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.36, allocations: 15.91 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches