Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.001015/0.001014, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007576/0.007577, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.257/1.257, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.366/2.366, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003212, allocations: 11.98 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.544, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.0007684/0.5448, allocations: 446.2 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008009/0.5457, allocations: 0.804 MB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.5457, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.5457, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.5458, allocations: 7.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.959e-05/0.5459, allocations: 7.984 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.5459, allocations: 43.8 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.546, allocations: 11.98 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.5461, allocations: 15.98 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.5461, allocations: 23.91 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5462, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.5462, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.5462, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.5462, allocations: 41.62 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.596e-05/0.5463, allocations: 35.88 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5463, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5463, allocations: 3.938 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.5463, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 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.0004584/0.5468, allocations: 379.1 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5468, allocations: 8.031 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.5469, allocations: 30.75 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.5469, allocations: 4.938 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.547, allocations: 176.2 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.547, allocations: 384 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.5471, allocations: 384 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.5473, allocations: 86.2 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5473, allocations: 3.938 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.5473, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5473, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.5476, allocations: 87.92 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.5479, allocations: 272.9 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.5482, allocations: 66.47 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.5483, allocations: 56.91 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.5484, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5484, allocations: 34.56 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.5484, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005412/0.5489, allocations: 161.5 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.549, allocations: 51.41 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.549, allocations: 113.8 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5491, allocations: 25.7 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.5491, allocations: 88.12 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.5491, allocations: 19.84 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.5492, allocations: 9.719 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.5492, allocations: 314.8 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.5494, allocations: 43.95 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.5496, allocations: 43.97 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.5498, allocations: 96.98 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5499, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003336/0.5502, allocations: 125.5 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5502, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5502, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5502, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5504, allocations: 27.91 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5504, allocations: 8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.5505, allocations: 15.98 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.5505, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 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.412e-05/0.5506, allocations: 114.3 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.5506, allocations: 4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.5506, allocations: 7.906 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5506, allocations: 3.984 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5506, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5506, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.5508, allocations: 169.6 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5508, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.5509, allocations: 23.98 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5509, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.5509, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5509, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5509, allocations: 3.984 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.5513, allocations: 223.3 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.5513, allocations: 77.11 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.5514, allocations: 0 / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.5515, allocations: 19.98 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.5515, allocations: 7.984 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5515, allocations: 0 / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.5516, allocations: 87.27 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5516, allocations: 4 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002038/0.5518, allocations: 4 kB / 1.028 GB, free: 11.01 MB / 0.7794 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.000606/0.5524, allocations: 0.7552 MB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.5527, allocations: 87.92 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5527, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.5529, allocations: 51.95 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.5532, allocations: 17.98 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.5536, allocations: 173.8 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.5538, allocations: 0.6809 MB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.5538, allocations: 4 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.5538, allocations: 11.44 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5538, allocations: 0 / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009958/0.5638, allocations: 1.287 MB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.564, allocations: 205.5 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.05, allocations: 0.875 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches