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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001361/0.001361, allocations: 187 kB / 17.34 MB, free: 5.742 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.89 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9202/0.9217, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.00174/0.9234, allocations: 0.6992 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007956/0.9242, allocations: 0.8061 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.9243, allocations: 0 / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.9243, allocations: 5.656 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.9244, allocations: 5.547 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.587e-05/0.9245, allocations: 13.83 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.9245, allocations: 43.56 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.9247, allocations: 9.828 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.214e-05/0.9247, allocations: 21.47 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.9248, allocations: 18.78 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.9248, allocations: 3.25 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.9248, allocations: 4 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.9249, allocations: 7.438 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.9249, allocations: 21.09 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.817e-05/0.925, allocations: 46.92 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.925, allocations: 0 / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/0.925, allocations: 0.6562 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.925, allocations: 1.312 kB / 1.09 GB, free: 4.348 MB / 0.8575 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.0004379/0.9255, allocations: 364.4 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9255, allocations: 9.812 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.9255, allocations: 7.062 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.889e-05/0.9256, allocations: 174.3 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.9256, allocations: 9.469 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.9257, allocations: 2.562 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.9259, allocations: 68.67 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9259, allocations: 192 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.926, allocations: 3.938 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.926, allocations: 1.031 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.9263, allocations: 71.56 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.9266, allocations: 270.1 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.9268, allocations: 54.89 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.927, allocations: 52.62 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.927, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.927, allocations: 32.45 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.927, allocations: 3.938 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.9276, allocations: 128.8 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.9276, allocations: 51.41 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.9277, allocations: 108.2 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.9277, allocations: 25.7 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.9277, allocations: 86.62 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.9277, allocations: 15.47 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.9278, allocations: 16.8 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.9278, allocations: 317.3 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.928, allocations: 31.3 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.9281, allocations: 31.28 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.9284, allocations: 74.38 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9284, allocations: 3.938 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003209/0.9287, allocations: 94.12 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9288, allocations: 5.125 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9288, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9288, allocations: 1.703 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.9289, allocations: 23.62 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.929, allocations: 4 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.929, allocations: 11.38 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.9291, allocations: 1.094 kB / 1.092 GB, free: 2.562 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 5.294e-05/0.9291, allocations: 112.7 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.9291, allocations: 6.062 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.9292, allocations: 10.2 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.9292, allocations: 5.406 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9292, allocations: 0.7031 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.9292, allocations: 7.938 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.9293, allocations: 170.5 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9294, allocations: 0.9688 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.9295, allocations: 14.53 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9295, allocations: 1.578 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.9295, allocations: 3.938 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9295, allocations: 1.156 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9295, allocations: 0.7969 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.9299, allocations: 197.8 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.9299, allocations: 83.53 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.9299, allocations: 0.9688 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.93, allocations: 11.22 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.9301, allocations: 3.969 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.9301, allocations: 5.156 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.9301, allocations: 92.23 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9301, allocations: 0 / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002154/0.9304, allocations: 5.719 kB / 1.093 GB, free: 1.883 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.0001444/0.9305, allocations: 104.6 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.9309, allocations: 74.53 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9309, allocations: 0 / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.9311, allocations: 35.41 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.9314, allocations: 11.22 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.9317, allocations: 148.3 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.9318, allocations: 0.6848 MB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.9319, allocations: 9.125 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9319, allocations: 0 / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of Templates: time 0.002479/0.9344, allocations: 0.753 MB / 1.095 GB, free: 0.8672 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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