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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001144/0.001144, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 73.27 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2437, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001765/0.2455, allocations: 0.6548 MB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.2464, allocations: 0.8079 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.2464, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.2465, allocations: 3.938 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.2465, allocations: 3.938 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.2466, allocations: 4 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.2467, allocations: 23.97 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.2468, allocations: 12 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.2468, allocations: 15.86 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.2469, allocations: 7.984 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2469, allocations: 4 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.2469, allocations: 0 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.2469, allocations: 11.94 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.247, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.066e-05/0.247, allocations: 27.89 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2471, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2471, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2471, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.8262 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.0003981/0.2475, allocations: 343.8 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2475, allocations: 8.031 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.2476, allocations: 30.75 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.2476, allocations: 12.83 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2477, allocations: 164.4 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.2477, allocations: 384 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.2477, allocations: 4.312 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2479, allocations: 58.17 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2479, allocations: 3.938 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.2479, allocations: 0 / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.2479, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.2481, allocations: 31.91 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.2484, allocations: 245 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.2485, allocations: 42.5 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.2486, allocations: 24.91 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2486, allocations: 3.938 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2487, allocations: 34.55 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2487, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003397/0.249, allocations: 85.56 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.2491, allocations: 55.39 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.2491, allocations: 97.86 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2491, allocations: 25.7 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2492, allocations: 84.14 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.2492, allocations: 3.906 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.2492, allocations: 17.7 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2494, allocations: 319 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.2495, allocations: 11.98 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.2495, allocations: 23.92 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2497, allocations: 36.81 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2497, allocations: 3.938 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002015/0.2499, allocations: 65.73 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.25, allocations: 7.984 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.25, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.25, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.2501, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2501, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.2502, allocations: 7.984 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2502, allocations: 4.031 kB / 1.067 GB, free: 10.8 MB / 0.8262 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.657e-05/0.2503, allocations: 123.5 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.2503, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.2506, allocations: 68.78 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2506, allocations: 3.984 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2506, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2506, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2508, allocations: 161.6 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2508, allocations: 4 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.2509, allocations: 11.98 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2509, allocations: 3.938 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2509, allocations: 3.938 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2509, allocations: 3.984 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2509, allocations: 0 / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.2512, allocations: 171.4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.2513, allocations: 81.2 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2513, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.2514, allocations: 11.97 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2514, allocations: 8 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2514, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.847e-05/0.2515, allocations: 83.27 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2515, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000218/0.2517, allocations: 11.97 kB / 1.068 GB, free: 9.965 MB / 0.8262 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.0006588/0.2524, allocations: 0.6934 MB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2526, allocations: 36 kB / 1.068 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2526, allocations: 4 kB / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/0.2527, allocations: 19.97 kB / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.253, allocations: 4 kB / 1.068 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.2534, allocations: 131.4 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2536, allocations: 0.6845 MB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.2537, allocations: 4 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.2537, allocations: 11.44 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.2537, allocations: 0 / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2702, allocations: 1.25 MB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/7.113, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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