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 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.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.00198/0.00198, allocations: 108.6 kB / 15.73 MB, free: 72 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.002215/0.002215, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 79.88 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2908, allocations: 162.2 MB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001759/0.2926, allocations: 0.6663 MB / 1.242 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.2934, allocations: 0.7961 MB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.2935, allocations: 0 / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.2935, allocations: 0 / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.2936, allocations: 11.94 kB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.2937, allocations: 11.97 kB / 1.243 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.2938, allocations: 19.88 kB / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.2938, allocations: 11.98 kB / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.548e-05/0.2939, allocations: 11.94 kB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.2939, allocations: 7.984 kB / 1.243 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.294, allocations: 0 / 1.243 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.294, allocations: 4 kB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.294, allocations: 7.938 kB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.294, allocations: 8 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.538e-05/0.2941, allocations: 31.88 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2941, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2941, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2941, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 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.0004354/0.2946, allocations: 335.5 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2946, allocations: 8.031 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.2946, allocations: 34.75 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.772e-05/0.2947, allocations: 0.9375 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2948, allocations: 172.3 kB / 1.244 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.2948, allocations: 4.375 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.2948, allocations: 384 / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.295, allocations: 54.17 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.295, allocations: 3.938 kB / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.295, allocations: 0 / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.295, allocations: 0 / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.2952, allocations: 39.95 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.2955, allocations: 245 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2957, allocations: 46.38 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.2958, allocations: 24.89 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2958, allocations: 0 / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2958, allocations: 38.56 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2958, allocations: 0 / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003542/0.2962, allocations: 77.64 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2962, allocations: 55.41 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.2963, allocations: 93.86 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2963, allocations: 33.64 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.2964, allocations: 88.25 kB / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2964, allocations: 3.953 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.2965, allocations: 13.72 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2966, allocations: 314.8 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.2967, allocations: 15.98 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.2968, allocations: 19.97 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.2969, allocations: 40.89 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.297, allocations: 3.938 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.2972, allocations: 69.55 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2972, allocations: 8 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2972, allocations: 0 / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2972, allocations: 0 / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.2973, allocations: 15.95 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2973, allocations: 4 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.2974, allocations: 4 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.2974, allocations: 0 / 1.245 GB, free: 6.516 MB / 0.9981 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 8.018e-05/0.2975, allocations: 118.3 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2975, allocations: 0 / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.2977, allocations: 72.97 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2977, allocations: 3.984 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2977, allocations: 0 / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2978, allocations: 0 / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2979, allocations: 157.6 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2979, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.298, allocations: 11.98 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.298, allocations: 0 / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.298, allocations: 7.938 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.298, allocations: 3.938 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.298, allocations: 0 / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.2983, allocations: 163.5 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.2983, allocations: 85.06 kB / 1.245 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2984, allocations: 3.984 kB / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.2985, allocations: 4 kB / 1.245 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.2985, allocations: 4 kB / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2985, allocations: 8.031 kB / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.2985, allocations: 83.27 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000216/0.2988, allocations: 4 kB / 1.246 GB, free: 5.699 MB / 0.9981 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.0005724/0.2994, allocations: 0.6967 MB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.2996, allocations: 39.95 kB / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2996, allocations: 0 / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.2997, allocations: 19.98 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.2999, allocations: 4.141 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.3003, allocations: 143 kB / 1.246 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3006, allocations: 0.6768 MB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.3006, allocations: 0 / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.3007, allocations: 15.38 kB / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3007, allocations: 0 / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.3212, allocations: 1.262 MB / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.879, allocations: 11.59 kB / 1.248 GB, free: 2.824 MB / 0.9981 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 400 --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