Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.001162/0.001162, 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.001173/0.001173, allocations: 193.2 kB / 16.14 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.383/2.383, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.44 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2273, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001789/0.2291, allocations: 0.7183 MB / 1.053 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007898/0.2299, allocations: 0.8118 MB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.2299, allocations: 3.938 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.23, allocations: 3.938 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.23, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.2301, allocations: 11.98 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.2302, allocations: 19.92 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.578e-05/0.2303, allocations: 11.98 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.2303, allocations: 11.94 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.2304, allocations: 11.98 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2304, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.2304, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.2304, allocations: 3.938 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.2305, allocations: 8 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.733e-05/0.2305, allocations: 19.89 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2305, allocations: 4 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.71e-07/0.2305, allocations: 4 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2305, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 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.0003708/0.2309, allocations: 331.8 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.231, allocations: 15.97 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.231, allocations: 38.75 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.231, allocations: 4.844 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.2311, allocations: 164.4 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2311, allocations: 384 / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.2312, allocations: 4.312 kB / 1.054 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.2313, allocations: 54.23 kB / 1.054 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2313, allocations: 3.938 kB / 1.054 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.2313, allocations: 0 / 1.054 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2313, allocations: 3.984 kB / 1.054 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2315, allocations: 35.95 kB / 1.054 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.2318, allocations: 252.9 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.2319, allocations: 46.42 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.232, allocations: 24.91 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.232, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.232, allocations: 30.56 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.232, allocations: 0 / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003134/0.2324, allocations: 85.64 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2324, allocations: 51.41 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.2325, allocations: 101.8 kB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.2325, allocations: 25.7 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.2325, allocations: 88.14 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2325, allocations: 3.906 kB / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.2326, allocations: 13.84 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.2327, allocations: 318.8 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.2328, allocations: 19.91 kB / 1.055 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.2328, allocations: 15.98 kB / 1.055 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.233, allocations: 40.89 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.233, allocations: 3.938 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.2332, allocations: 69.56 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2332, allocations: 5.719 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2332, allocations: 3.938 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.2332, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.2333, allocations: 11.98 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.2333, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.2334, allocations: 8.031 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2334, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 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 6.487e-05/0.2334, allocations: 117.8 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.2335, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.2337, allocations: 64.78 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2337, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2337, allocations: 4.031 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2337, allocations: 4 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2338, allocations: 157.6 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2338, allocations: 3.984 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.2339, allocations: 7.938 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2339, allocations: 0 / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.2339, allocations: 7.938 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2339, allocations: 4 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2339, allocations: 0 / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2341, allocations: 167.5 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.2342, allocations: 85 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.2342, allocations: 0 / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.2343, allocations: 4 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.2343, allocations: 3.984 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.2343, allocations: 4 kB / 1.056 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.2344, allocations: 83.31 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2344, allocations: 0 / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002034/0.2346, allocations: 7.938 kB / 1.056 GB, free: 3.609 MB / 0.8106 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.0004602/0.235, allocations: 0.7007 MB / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.2352, allocations: 35.95 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2352, allocations: 0 / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.2353, allocations: 19.98 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2356, allocations: 11.88 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.2359, allocations: 133.3 kB / 1.057 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.2361, allocations: 0.677 MB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.2361, allocations: 0 / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2362, allocations: 11.44 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.2362, allocations: 3.938 kB / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00938/0.2456, allocations: 1.073 MB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.2458, allocations: 210.2 kB / 1.059 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.751, allocations: 0 / 1.059 GB, free: 0.6836 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches