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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007692/0.007692, allocations: 99.27 kB / 15.73 MB, free: 6.445 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.001883/0.001883, allocations: 194.4 kB / 16.67 MB, free: 6.348 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.709/2.709, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.89 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2916, allocations: 159.1 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001979/0.2936, allocations: 0.6818 MB / 1.22 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009168/0.2945, allocations: 0.8058 MB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.2946, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.2946, allocations: 3.938 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.2947, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.2949, allocations: 19.92 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.2949, allocations: 19.97 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.295, allocations: 8 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.2951, allocations: 15.86 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.2951, allocations: 8 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2952, allocations: 0 / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.2952, allocations: 4 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.2952, allocations: 11.92 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.2952, allocations: 4 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.099e-05/0.2953, allocations: 27.89 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2953, allocations: 4 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2953, allocations: 3.938 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2953, allocations: 0 / 1.221 GB, free: 12.96 MB / 0.9825 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.0004179/0.2958, allocations: 337.2 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2958, allocations: 8.031 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.2959, allocations: 34.75 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.2959, allocations: 4.891 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.296, allocations: 168.3 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.296, allocations: 4.375 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.296, allocations: 4.375 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.2962, allocations: 50.23 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2962, allocations: 7.875 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.2963, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2963, allocations: 3.938 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.2964, allocations: 31.97 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.2967, allocations: 253 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2969, allocations: 38.5 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.297, allocations: 20.91 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.297, allocations: 0 / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.297, allocations: 42.5 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.297, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003443/0.2974, allocations: 77.64 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2974, allocations: 51.41 kB / 1.222 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.2975, allocations: 101.8 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2975, allocations: 25.7 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.2976, allocations: 88.22 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.2976, allocations: 7.953 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.2976, allocations: 13.72 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2977, allocations: 318.8 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.2978, allocations: 11.98 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.2979, allocations: 23.92 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.298, allocations: 44.88 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2981, allocations: 3.938 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.2983, allocations: 57.67 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2983, allocations: 9.406 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2983, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2983, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.2984, allocations: 7.984 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2984, allocations: 4.031 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.2985, allocations: 7.984 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2985, allocations: 4 kB / 1.223 GB, free: 10.89 MB / 0.9825 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.89e-05/0.2985, allocations: 118.2 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.2986, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.2988, allocations: 72.72 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2988, allocations: 4.031 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2988, allocations: 4 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2988, allocations: 0 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.299, allocations: 161.6 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.299, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.2991, allocations: 15.92 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2991, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.2991, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2991, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2991, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.2993, allocations: 175.3 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.2994, allocations: 77.11 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2994, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.2995, allocations: 3.984 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2995, allocations: 8 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.2995, allocations: 0 / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.2996, allocations: 83.31 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2996, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002144/0.2998, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 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.0005111/0.3003, allocations: 0.7007 MB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3005, allocations: 35.97 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3005, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.3006, allocations: 19.98 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3009, allocations: 3.984 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.3013, allocations: 147.6 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3015, allocations: 0.6806 MB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.3015, allocations: 0 / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.3016, allocations: 15.44 kB / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3016, allocations: 0 / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.3176, allocations: 1.28 MB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.515, allocations: 10.23 kB / 1.227 GB, free: 7.184 MB / 0.9825 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 50 --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