Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.007916/0.007916, allocations: 97.75 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.002186/0.002186, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001724/0.2946, allocations: 0.7015 MB / 1.242 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.2956, allocations: 0.8273 MB / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.2956, allocations: 0 / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.2957, allocations: 3.984 kB / 1.243 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.2957, allocations: 3.938 kB / 1.243 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2959, allocations: 31.91 kB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.296, allocations: 51.84 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.2961, allocations: 12 kB / 1.243 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.2961, allocations: 15.98 kB / 1.243 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.2962, allocations: 27.89 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.2962, allocations: 7.938 kB / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.2963, allocations: 4 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.2963, allocations: 15.98 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.2963, allocations: 15.94 kB / 1.243 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.931e-05/0.2964, allocations: 51.78 kB / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2965, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2965, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2965, allocations: 0 / 1.243 GB, free: 8.426 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004951/0.297, allocations: 357.2 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.297, allocations: 12.03 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.2971, allocations: 38.69 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.2971, allocations: 4.938 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2972, allocations: 172.3 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2972, allocations: 4.375 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2973, allocations: 8.125 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.2975, allocations: 65.66 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.2975, allocations: 0 / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.2975, allocations: 0 / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2975, allocations: 0 / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.2977, allocations: 51.95 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.2982, allocations: 292.7 kB / 1.244 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.2984, allocations: 70.48 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.2985, allocations: 28.91 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2985, allocations: 4 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2986, allocations: 38.56 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 2.976e-06/0.2986, allocations: 0 / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004209/0.299, allocations: 113.5 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.299, allocations: 55.41 kB / 1.244 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.2991, allocations: 105.8 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2991, allocations: 25.7 kB / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.2992, allocations: 92.08 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.2992, allocations: 19.83 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.2993, allocations: 17.72 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2994, allocations: 314.8 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2995, allocations: 27.97 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2996, allocations: 23.97 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.2998, allocations: 64.75 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2999, allocations: 0 / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002551/0.3001, allocations: 81.66 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3001, allocations: 4 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3001, allocations: 336 / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3002, allocations: 0 / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3003, allocations: 11.98 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3003, allocations: 7.984 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.3004, allocations: 4 kB / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3004, allocations: 7.938 kB / 1.245 GB, free: 6.113 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.679e-05/0.3005, allocations: 118.3 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3005, allocations: 7.953 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.3006, allocations: 7.906 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.3006, allocations: 3.938 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3006, allocations: 0 / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3006, allocations: 4 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.3008, allocations: 177.6 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3008, allocations: 0 / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.3009, allocations: 11.98 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3009, allocations: 0 / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3009, allocations: 4 kB / 1.246 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3009, allocations: 0 / 1.246 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3009, allocations: 0 / 1.246 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.3012, allocations: 183.4 kB / 1.246 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.3013, allocations: 85.06 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.3013, allocations: 4 kB / 1.246 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3014, allocations: 8.234 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.3015, allocations: 15.92 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3015, allocations: 4 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.3016, allocations: 91.14 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3016, allocations: 3.938 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002253/0.3018, allocations: 12 kB / 1.246 GB, free: 5.285 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006345/0.3024, allocations: 0.7086 MB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.3027, allocations: 63.89 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3027, allocations: 0 / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3028, allocations: 31.97 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.3031, allocations: 4 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3047, allocations: 1.319 MB / 1.248 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.305, allocations: 0.6846 MB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.3051, allocations: 8.234 kB / 1.249 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.3051, allocations: 15.44 kB / 1.249 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3051, allocations: 0 / 1.249 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.327, allocations: 1.824 MB / 1.25 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.941, allocations: 15.88 kB / 1.25 GB, free: 0.5781 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_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_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches