Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00117/0.00117, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.241/2.241, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4858, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001661/0.4874, allocations: 0.7318 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.4882, allocations: 0.8429 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.4883, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.4883, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.4884, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.4885, allocations: 15.98 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.172e-05/0.4885, allocations: 23.92 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.4886, allocations: 11.98 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.4887, allocations: 7.938 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.4887, allocations: 11.98 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.4887, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-06/0.4887, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.4888, allocations: 3.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.4888, allocations: 11.98 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.577e-05/0.4888, allocations: 19.91 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4888, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.31e-07/0.4889, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.4889, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003482/0.4892, allocations: 341.8 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4893, allocations: 19.91 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.494e-05/0.4893, allocations: 30.75 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.074e-05/0.4893, allocations: 4.844 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.4894, allocations: 168.4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.4894, allocations: 384 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.4894, allocations: 384 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4896, allocations: 58.22 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.4896, allocations: 3.938 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.4896, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4896, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.4898, allocations: 35.95 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.49, allocations: 248.9 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4901, allocations: 42.48 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.4902, allocations: 28.84 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.4903, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.4903, allocations: 30.56 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4903, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002944/0.4906, allocations: 89.58 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.4906, allocations: 51.41 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.4907, allocations: 101.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.4907, allocations: 25.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.4907, allocations: 84.14 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.4908, allocations: 7.844 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.4908, allocations: 13.72 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.4909, allocations: 319 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.491, allocations: 15.97 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.4911, allocations: 15.98 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.4912, allocations: 36.83 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4912, allocations: 3.938 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.4914, allocations: 77.56 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.4914, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4914, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.4914, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.4915, allocations: 11.98 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.4915, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.4916, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.4916, allocations: 4.016 kB / 1.02 GB, free: 15.02 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 (2): * Single equations (assignments): 2 * 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.844e-05/0.4916, allocations: 118.3 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.4917, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.4917, allocations: 3.125 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4917, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4917, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.4917, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.4918, allocations: 161.6 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4918, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.4919, allocations: 12 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4919, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4919, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4919, allocations: 3.938 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4919, allocations: 7.922 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.4921, allocations: 159.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.4922, allocations: 89.12 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.4922, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.4923, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.4923, allocations: 7.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.4923, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.4924, allocations: 83.45 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4924, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001991/0.4926, allocations: 4 kB / 1.021 GB, free: 14.28 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 (2): * Single equations (assignments): 2 * 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.0004312/0.493, allocations: 0.7045 MB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.4932, allocations: 35.95 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.4932, allocations: 4.094 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.4933, allocations: 19.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4935, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.4939, allocations: 139.5 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.494, allocations: 0.677 MB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.178e-05/0.4941, allocations: 4.062 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.4941, allocations: 11.44 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4941, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009422/0.5035, allocations: 1.063 MB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.5038, allocations: 199.1 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.015, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches