Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.004916/0.004916, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001354/0.001354, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.527/2.527, allocations: 482.6 MB / 0.755 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.59 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3093, allocations: 162.3 MB / 1.242 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001718/0.3111, allocations: 0.71 MB / 1.243 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.3119, allocations: 0.8044 MB / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.312, allocations: 0 / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.312, allocations: 3.938 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.208e-05/0.3121, allocations: 7.875 kB / 1.243 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.02e-05/0.3122, allocations: 11.98 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.3123, allocations: 43.91 kB / 1.243 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3124, allocations: 12 kB / 1.243 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.3124, allocations: 19.92 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.3125, allocations: 19.91 kB / 1.244 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3125, allocations: 7.938 kB / 1.244 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.3125, allocations: 4 kB / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3126, allocations: 11.92 kB / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.3126, allocations: 19.92 kB / 1.244 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.971e-05/0.3127, allocations: 40.09 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3127, allocations: 0 / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3127, allocations: 0 / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3127, allocations: 0 / 1.244 GB, free: 7.105 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.0005074/0.3132, allocations: 363.3 kB / 1.244 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3133, allocations: 8.031 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.3133, allocations: 42.69 kB / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.3133, allocations: 4.922 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3135, allocations: 168.3 kB / 1.244 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3135, allocations: 4.312 kB / 1.244 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3135, allocations: 4.375 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.3138, allocations: 70.22 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3138, allocations: 3.938 kB / 1.244 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.3138, allocations: 0 / 1.244 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3138, allocations: 0 / 1.244 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.3141, allocations: 63.92 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3144, allocations: 284.8 kB / 1.245 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3146, allocations: 54.53 kB / 1.245 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.3148, allocations: 36.92 kB / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3148, allocations: 0 / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3149, allocations: 34.56 kB / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3149, allocations: 0 / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005323/0.3154, allocations: 133.5 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3155, allocations: 55.41 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.3155, allocations: 109.8 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3156, allocations: 29.7 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.3156, allocations: 84.14 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3156, allocations: 15.89 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.3157, allocations: 13.72 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3158, allocations: 314.8 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.316, allocations: 35.95 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3161, allocations: 27.97 kB / 1.245 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.3164, allocations: 72.94 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3164, allocations: 0 / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00032/0.3167, allocations: 105.6 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3168, allocations: 8 kB / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3168, allocations: 0 / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3168, allocations: 0 / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3169, allocations: 23.91 kB / 1.246 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3169, allocations: 0 / 1.246 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.317, allocations: 7.984 kB / 1.246 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.317, allocations: 8 kB / 1.246 GB, free: 4.727 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 8.101e-05/0.3171, allocations: 113.8 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3171, allocations: 7.953 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.3175, allocations: 101.5 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3175, allocations: 7.938 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3175, allocations: 0 / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3175, allocations: 4 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3177, allocations: 173.6 kB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3177, allocations: 4 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.3178, allocations: 11.98 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3178, allocations: 4 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.3178, allocations: 0 / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3178, allocations: 0 / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3178, allocations: 0 / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.3182, allocations: 203.3 kB / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.3183, allocations: 85 kB / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3183, allocations: 4 kB / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3184, allocations: 7.984 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3184, allocations: 11.98 kB / 1.246 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3185, allocations: 4 kB / 1.246 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.3185, allocations: 87.28 kB / 1.246 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3185, allocations: 0 / 1.246 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002023/0.3187, allocations: 4 kB / 1.246 GB, free: 3.805 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.0006899/0.3194, allocations: 0.7285 MB / 1.247 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.3198, allocations: 71.86 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3198, allocations: 0 / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3199, allocations: 39.95 kB / 1.247 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3202, allocations: 5.875 kB / 1.247 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.3206, allocations: 159 kB / 1.247 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3209, allocations: 0.6807 MB / 1.248 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.3209, allocations: 0 / 1.248 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.321, allocations: 23.42 kB / 1.248 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.321, allocations: 0 / 1.248 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.877/2.198, allocations: 1.637 MB / 1.25 GB, free: 476 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/13.13, allocations: 7.203 kB / 1.25 GB, free: 472 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches