Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.007392/0.007392, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001895/0.001895, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 482.4 MB / 0.7548 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.91 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2922, 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.Cos): time 0.001764/0.294, allocations: 0.6595 MB / 1.242 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.2949, allocations: 0.804 MB / 1.243 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.2949, allocations: 4 kB / 1.243 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.295, allocations: 0 / 1.243 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.295, allocations: 7.938 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.2952, allocations: 7.984 kB / 1.243 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.2952, allocations: 27.92 kB / 1.243 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.2953, allocations: 7.984 kB / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.091e-05/0.2954, allocations: 7.938 kB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.2954, allocations: 11.98 kB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2955, allocations: 7.938 kB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.2955, allocations: 0 / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.2955, allocations: 7.938 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.2955, allocations: 4 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.521e-05/0.2956, allocations: 27.89 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2956, allocations: 4 kB / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2956, allocations: 0 / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2956, allocations: 0 / 1.243 GB, free: 8.578 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.0004666/0.2961, allocations: 331.5 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2962, allocations: 19.95 kB / 1.243 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.2962, allocations: 34.75 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.2962, allocations: 0.9375 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2964, allocations: 172.3 kB / 1.244 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.2964, allocations: 4.375 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.2964, allocations: 384 / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.2966, allocations: 50.23 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2966, allocations: 7.922 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.2966, allocations: 0 / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2966, allocations: 0 / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2968, allocations: 39.89 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.2971, allocations: 248.9 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2973, allocations: 38.5 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.2974, allocations: 28.89 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2974, allocations: 0 / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2974, allocations: 34.56 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2974, allocations: 0 / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003583/0.2978, allocations: 85.58 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2978, allocations: 51.41 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.2979, allocations: 93.86 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.2979, allocations: 25.7 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.298, allocations: 88.27 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.298, allocations: 11.94 kB / 1.244 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.2981, allocations: 9.719 kB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2982, allocations: 318.8 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.2983, allocations: 11.98 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.2984, allocations: 19.97 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2986, allocations: 40.89 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2986, allocations: 3.938 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000206/0.2988, allocations: 73.55 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2988, allocations: 4.938 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2988, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2988, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.2989, allocations: 15.92 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2989, allocations: 4.031 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.299, allocations: 4 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.299, allocations: 0 / 1.245 GB, free: 6.508 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.901e-05/0.2991, allocations: 114.3 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.2991, allocations: 4 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.2994, allocations: 72.7 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2994, allocations: 4.031 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2994, allocations: 0 / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.2994, allocations: 4 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.2996, allocations: 157.6 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2996, allocations: 0 / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.2997, allocations: 11.98 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2997, allocations: 3.938 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2997, allocations: 0 / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2997, allocations: 4 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2997, allocations: 0 / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3, allocations: 167.5 kB / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.3, allocations: 81.06 kB / 1.245 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.3, allocations: 3.938 kB / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.3001, allocations: 7.984 kB / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.3002, allocations: 0 / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3002, allocations: 0 / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.3002, allocations: 91.48 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3002, allocations: 0 / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000219/0.3005, allocations: 4 kB / 1.246 GB, free: 5.691 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.0006276/0.3011, allocations: 0.6968 MB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.3013, allocations: 39.89 kB / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3013, allocations: 0 / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.3014, allocations: 19.98 kB / 1.246 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.3017, allocations: 4 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.3021, allocations: 146.5 kB / 1.246 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3025, allocations: 0.6768 MB / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.3025, allocations: 144 / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.3025, allocations: 11.44 kB / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.3025, allocations: 0 / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.3233, allocations: 1.285 MB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.047, allocations: 3.938 kB / 1.248 GB, free: 2.801 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_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_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches