Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001507/0.001507, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001854/0.001854, allocations: 217 kB / 22.25 MB, free: 5.082 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Log,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",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.002047/0.002047, allocations: 67.31 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002464/0.3767, allocations: 0.6803 MB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3779, allocations: 0.8553 MB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.378, allocations: 0 / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.378, allocations: 0 / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.3781, allocations: 7.938 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3783, allocations: 15.98 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.697e-05/0.3783, allocations: 31.84 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3784, allocations: 8 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/0.3785, allocations: 4 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.3786, allocations: 15.92 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3786, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.3786, allocations: 4 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3786, allocations: 4 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.3787, allocations: 15.92 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3788, allocations: 24.17 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3788, allocations: 4 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3788, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3788, allocations: 4 kB / 1.328 GB, free: 232 kB / 1.014 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.000521/0.3793, allocations: 262.3 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3794, allocations: 8.031 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.3794, allocations: 38.69 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.3795, allocations: 0.9375 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3797, allocations: 114.5 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3797, allocations: 4.375 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3797, allocations: 384 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3799, allocations: 50.23 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3799, allocations: 3.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.3799, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3799, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3801, allocations: 31.97 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.3806, allocations: 223.9 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3807, allocations: 42.53 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.3808, allocations: 20.89 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3808, allocations: 4 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3808, allocations: 38.56 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3808, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.3812, allocations: 81.58 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3813, allocations: 51.41 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.3813, allocations: 101.8 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3814, allocations: 25.7 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.3814, allocations: 84.2 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3814, allocations: 19.89 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.3815, allocations: 9.719 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3816, allocations: 314.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.18e-05/0.3817, allocations: 19.98 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.3818, allocations: 11.98 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3819, allocations: 40.89 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3819, allocations: 3.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000202/0.3821, allocations: 73.59 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3822, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3822, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3822, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.3823, allocations: 11.98 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3823, allocations: 4.031 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.3823, allocations: 11.92 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3823, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 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 9.259e-05/0.3824, allocations: 110.3 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.3825, allocations: 7.953 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.3827, allocations: 72.91 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3827, allocations: 4.031 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3827, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3827, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3829, allocations: 136.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3829, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.3829, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3829, allocations: 3.984 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3829, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3829, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3829, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3832, allocations: 167.5 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.3832, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3832, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.3833, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3833, allocations: 7.922 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3833, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.3834, allocations: 83.31 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3834, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002176/0.3836, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 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.0007266/0.3843, allocations: 0.6968 MB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3845, allocations: 35.95 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3845, allocations: 7.875 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.3846, allocations: 19.98 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.3849, allocations: 3.984 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.3854, allocations: 135.4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3857, allocations: 0.6729 MB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.3858, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.3858, allocations: 15.42 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3858, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.418, allocations: 1.39 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 10.61 kB / 1.333 GB, free: 10.73 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.651200666092336]