Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 101.3 kB / 19.73 MB, free: 2.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 218.9 kB / 23.03 MB, free: 4.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.915/2.915, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 65.55 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002717/0.3483, allocations: 0.6924 MB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3498, allocations: 0.8279 MB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.3499, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.135e-05/0.3499, allocations: 3.938 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3501, allocations: 7.922 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.3502, allocations: 15.98 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3503, allocations: 43.8 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.3505, allocations: 15.22 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3507, allocations: 15.94 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.3507, allocations: 23.91 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.3508, allocations: 4 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.3508, allocations: 8 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.3508, allocations: 7.984 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.3509, allocations: 15.92 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.351, allocations: 35.88 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.351, allocations: 0 / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.715e-06/0.351, allocations: 0 / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3511, allocations: 3.938 kB / 1.286 GB, free: 8.863 MB / 0.9825 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.0007631/0.3518, allocations: 286.2 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.3519, allocations: 12.03 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.859e-05/0.3519, allocations: 4.188 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.352, allocations: 38.67 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.352, allocations: 8.891 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3522, allocations: 110.5 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3522, allocations: 4.375 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3522, allocations: 8.297 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.3526, allocations: 73.97 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3526, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3526, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3526, allocations: 4 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.3529, allocations: 63.92 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.3534, allocations: 239.9 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3536, allocations: 50.55 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3538, allocations: 44.91 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3538, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3539, allocations: 34.56 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3539, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005544/0.3544, allocations: 129.5 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3545, allocations: 59.39 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3546, allocations: 109.8 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3546, allocations: 25.7 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.3547, allocations: 84.14 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3547, allocations: 11.89 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3547, allocations: 13.72 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3549, allocations: 322.8 kB / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.355, allocations: 31.97 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3552, allocations: 39.95 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.3554, allocations: 64.8 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3554, allocations: 3.938 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003064/0.3557, allocations: 101.6 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3557, allocations: 7.984 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3558, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3558, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3559, allocations: 19.92 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3559, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.356, allocations: 11.98 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.356, allocations: 320 / 1.288 GB, free: 6.688 MB / 0.9825 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.0001049/0.3561, allocations: 118.9 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3561, allocations: 4 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.3562, allocations: 7.984 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3562, allocations: 4 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3562, allocations: 336 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3562, allocations: 0 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3564, allocations: 140.6 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3564, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.3564, allocations: 15.92 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3564, allocations: 7.984 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3565, allocations: 3.938 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3565, allocations: 7.984 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3565, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3568, allocations: 191.4 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.3569, allocations: 4 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3569, allocations: 0 / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.357, allocations: 11.98 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.357, allocations: 3.984 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.357, allocations: 4 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.3571, allocations: 95.25 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3571, allocations: 0 / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002159/0.3573, allocations: 11.95 kB / 1.288 GB, free: 5.996 MB / 0.9825 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.0007234/0.358, allocations: 0.7202 MB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.3584, allocations: 71.91 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3584, allocations: 0 / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3585, allocations: 39.91 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3589, allocations: 4 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.3595, allocations: 159.2 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.289e-05/0.3595, allocations: 67.28 kB / 1.289 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.3596, allocations: 7.938 kB / 1.289 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.3596, allocations: 15.42 kB / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3596, allocations: 0 / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.3837, allocations: 1.823 MB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.74, allocations: 6.562 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.93159434897825]