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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001638/0.001638, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00183/0.00183, allocations: 195 kB / 16.14 MB, free: 6.711 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 461.9 MB / 0.7342 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.88 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2351, allocations: 157.4 MB / 1.052 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001732/0.2368, allocations: 0.766 MB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007452/0.2376, allocations: 0.8391 MB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.2376, allocations: 3.938 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.2377, allocations: 3.938 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.2377, allocations: 0 / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.405e-05/0.2378, allocations: 15.98 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.2379, allocations: 51.89 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.841e-05/0.238, allocations: 12 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.238, allocations: 19.92 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.2381, allocations: 23.91 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.2381, allocations: 4 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.2381, allocations: 0 / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.2382, allocations: 15.97 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2382, allocations: 11.88 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.607e-05/0.2383, allocations: 43.86 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2383, allocations: 11.94 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.01e-07/0.2383, allocations: 0 / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2383, allocations: 0 / 1.054 GB, free: 6.266 MB / 0.8106 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.0003756/0.2387, allocations: 355.7 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2387, allocations: 11.97 kB / 1.054 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.2387, allocations: 38.69 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.2388, allocations: 0.9375 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.914e-05/0.2389, allocations: 172.3 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2389, allocations: 384 / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.2389, allocations: 8.375 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2391, allocations: 69.58 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-06/0.2391, allocations: 4 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.2391, allocations: 4 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-06/0.2391, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.2393, allocations: 51.89 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.2397, allocations: 288.8 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.2398, allocations: 66.53 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.24, allocations: 28.92 kB / 1.055 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.24, allocations: 3.938 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.24, allocations: 42.55 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.24, allocations: 3.938 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003606/0.2404, allocations: 113.7 kB / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.2404, allocations: 51.41 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.2405, allocations: 105.8 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2405, allocations: 25.7 kB / 1.055 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2405, allocations: 88.14 kB / 1.055 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.2406, allocations: 15.88 kB / 1.055 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.2406, allocations: 21.7 kB / 1.055 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.2407, allocations: 318.8 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.2408, allocations: 23.97 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.474e-05/0.2409, allocations: 27.92 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2411, allocations: 56.81 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2411, allocations: 0 / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002297/0.2413, allocations: 81.64 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2413, allocations: 8 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2414, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.2414, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2415, allocations: 11.98 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.2415, allocations: 0 / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.2416, allocations: 16.23 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2416, allocations: 3.938 kB / 1.056 GB, free: 3.957 MB / 0.8106 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 7.008e-05/0.2417, allocations: 113.8 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.2417, allocations: 11.91 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.2417, allocations: 11.89 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2417, allocations: 0 / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2417, allocations: 0 / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.2417, allocations: 0 / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.2419, allocations: 177.5 kB / 1.056 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2419, allocations: 4 kB / 1.056 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.242, allocations: 11.98 kB / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.242, allocations: 3.984 kB / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.242, allocations: 4 kB / 1.056 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.242, allocations: 0 / 1.056 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.242, allocations: 7.938 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.2423, allocations: 187.4 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.2423, allocations: 81.05 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2424, allocations: 0 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.2425, allocations: 7.984 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.2425, allocations: 11.98 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2425, allocations: 4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.2426, allocations: 83.28 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2426, allocations: 0 / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002089/0.2428, allocations: 15.84 kB / 1.057 GB, free: 3.137 MB / 0.8106 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.0006715/0.2435, allocations: 0.7166 MB / 1.057 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.2437, allocations: 55.92 kB / 1.057 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2438, allocations: 4 kB / 1.057 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2439, allocations: 35.97 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.2441, allocations: 5.719 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2454, allocations: 1.321 MB / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.2456, allocations: 0.6809 MB / 1.059 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.2457, allocations: 4 kB / 1.059 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.2457, allocations: 19.42 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2457, allocations: 0 / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.2818, allocations: 1.571 MB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.282, allocations: 212.7 kB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.841, allocations: 0 / 1.061 GB, free: 14.43 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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