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.001222/0.001222, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001663/0.001664, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.649/1.649, allocations: 223.3 MB / 240.3 MB, free: 5.344 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 2.699/2.699, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8845/0.8849, allocations: 142.4 MB / 0.9551 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.0009799/0.886, allocations: 440.9 kB / 0.9555 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.8868, allocations: 0.7972 MB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.8868, allocations: 0 / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.8869, allocations: 0 / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.8869, allocations: 9.297 kB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.78e-05/0.887, allocations: 9.016 kB / 0.9563 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.8871, allocations: 40.88 kB / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.8872, allocations: 13.16 kB / 0.9563 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.8873, allocations: 20.77 kB / 0.9564 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.8874, allocations: 17.8 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.8874, allocations: 1.125 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.8874, allocations: 2.531 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.8874, allocations: 9.109 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.8875, allocations: 36.64 kB / 0.9564 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.148e-05/0.8875, allocations: 38.81 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8876, allocations: 0 / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8876, allocations: 4 kB / 0.9565 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.8876, allocations: 1.531 kB / 0.9565 GB, free: 6.504 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004761/0.8881, allocations: 367.7 kB / 0.9568 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.8881, allocations: 10.06 kB / 0.9568 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.8882, allocations: 6.938 kB / 0.9568 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.8883, allocations: 174.2 kB / 0.957 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.8883, allocations: 5.5 kB / 0.957 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.8883, allocations: 2.375 kB / 0.957 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.8886, allocations: 81.19 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.8886, allocations: 4.188 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.8886, allocations: 5.031 kB / 0.9571 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.8886, allocations: 0 / 0.9571 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.8889, allocations: 91.02 kB / 0.9572 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.8892, allocations: 260 kB / 0.9574 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.8895, allocations: 73.64 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.8896, allocations: 56.69 kB / 0.9575 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.8897, allocations: 4 kB / 0.9576 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.8897, allocations: 31.66 kB / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.8897, allocations: 0 / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005686/0.8903, allocations: 159.5 kB / 0.9577 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.8903, allocations: 51.41 kB / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.8904, allocations: 111.9 kB / 0.9579 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.8904, allocations: 26.86 kB / 0.9579 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.8905, allocations: 89.08 kB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.8905, allocations: 13.81 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.8905, allocations: 13.72 kB / 0.958 GB, free: 5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.8906, allocations: 316.7 kB / 0.9583 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.8907, allocations: 42.91 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.8909, allocations: 43.8 kB / 0.9584 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.8912, allocations: 85.77 kB / 0.9585 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8912, allocations: 9.375 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003331/0.8915, allocations: 121 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8916, allocations: 4.562 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8916, allocations: 0 / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8916, allocations: 5.719 kB / 0.9586 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.8917, allocations: 22.98 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8917, allocations: 4 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.8918, allocations: 20.2 kB / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.8918, allocations: 0 / 0.9587 GB, free: 4.52 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: 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 6.077e-05/0.8919, allocations: 115.8 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.8919, allocations: 9.859 kB / 0.9588 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.892, allocations: 9.719 kB / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.892, allocations: 0 / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.892, allocations: 1.875 kB / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.892, allocations: 3.938 kB / 0.9588 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.8921, allocations: 173 kB / 0.959 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8921, allocations: 0 / 0.959 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.8922, allocations: 26.81 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8922, allocations: 5.719 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8922, allocations: 0 / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8923, allocations: 0 / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8923, allocations: 0 / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.8926, allocations: 220.3 kB / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.8926, allocations: 82.2 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.8927, allocations: 9.141 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.8928, allocations: 15.11 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.8928, allocations: 2.312 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.8928, allocations: 0 / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.8929, allocations: 90.67 kB / 0.9594 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8929, allocations: 4 kB / 0.9594 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002175/0.8931, allocations: 5.75 kB / 0.9594 GB, free: 3.781 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: 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.0001492/0.8933, allocations: 98.22 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.8937, allocations: 90.27 kB / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8937, allocations: 0 / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.8938, allocations: 54.48 kB / 0.9596 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.8942, allocations: 13.91 kB / 0.9597 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.8945, allocations: 127.1 kB / 0.9598 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.8946, allocations: 0.6837 MB / 0.9604 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.8947, allocations: 5.375 kB / 0.9605 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.8947, allocations: 8.812 kB / 0.9605 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.8947, allocations: 0 / 0.9605 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.002867/0.8976, allocations: 0.545 MB / 0.961 GB, free: 2.504 MB / 0.7169 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/jenkins/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