Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.006294/0.006294, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001383/0.001383, allocations: 188.6 kB / 16.67 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 1.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3624, allocations: 157.4 MB / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002071/0.3646, allocations: 0.7062 MB / 1.208 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3656, allocations: 0.8 MB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.3657, allocations: 0 / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.3657, allocations: 3.938 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.3658, allocations: 3.938 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.464e-05/0.3659, allocations: 11.98 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.366, allocations: 47.84 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3661, allocations: 8 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.3662, allocations: 19.98 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.3662, allocations: 19.91 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3662, allocations: 4 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.3663, allocations: 7.938 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3663, allocations: 11.88 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3663, allocations: 23.91 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.3664, allocations: 39.81 kB / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3665, allocations: 0 / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3665, allocations: 0 / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3665, allocations: 0 / 1.209 GB, free: 8.316 MB / 0.9669 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.0005315/0.367, allocations: 367.6 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3671, allocations: 12.62 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.3671, allocations: 34.73 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.3671, allocations: 4.938 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3673, allocations: 176.2 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3673, allocations: 384 / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3673, allocations: 4.375 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.3676, allocations: 74.16 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3676, allocations: 3.938 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3676, allocations: 0 / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3676, allocations: 0 / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3679, allocations: 63.92 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.3683, allocations: 272.9 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3685, allocations: 50.53 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3686, allocations: 48.86 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3687, allocations: 0 / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.3687, allocations: 38.55 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.3687, allocations: 0 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005363/0.3692, allocations: 121.6 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.3693, allocations: 51.41 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.3694, allocations: 117.8 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3694, allocations: 29.7 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.3694, allocations: 80.14 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3695, allocations: 19.88 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.3695, allocations: 9.719 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.3696, allocations: 318.8 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3698, allocations: 35.89 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3699, allocations: 27.97 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.3702, allocations: 72.72 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3702, allocations: 3.938 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003355/0.3705, allocations: 105.8 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3705, allocations: 4 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3705, allocations: 0 / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3706, allocations: 48 / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3707, allocations: 23.95 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3707, allocations: 3.938 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.3708, allocations: 15.92 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3708, allocations: 4 kB / 1.211 GB, free: 5.93 MB / 0.9669 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 7.561e-05/0.3709, allocations: 117.8 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3709, allocations: 0 / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.371, allocations: 3.906 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.371, allocations: 4 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.371, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.371, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3712, allocations: 177.6 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3712, allocations: 0 / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.3713, allocations: 15.98 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3713, allocations: 4 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3713, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3713, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3713, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.3717, allocations: 207.2 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.3717, allocations: 81.05 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3718, allocations: 4 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3719, allocations: 7.984 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.3719, allocations: 11.98 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3719, allocations: 0 / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.372, allocations: 83.28 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.372, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002137/0.3722, allocations: 8 kB / 1.212 GB, free: 5.117 MB / 0.9669 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.0007688/0.373, allocations: 0.7318 MB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.3733, allocations: 75.86 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3733, allocations: 0 / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3735, allocations: 35.95 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3738, allocations: 7.938 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.3744, allocations: 167 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3747, allocations: 0.6807 MB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.3748, allocations: 0 / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3748, allocations: 15.44 kB / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3748, allocations: 0 / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.3929, allocations: 1.65 MB / 1.215 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.824, allocations: 12.22 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches