Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_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.007933/0.007933, allocations: 105.7 kB / 15.74 MB, free: 5.594 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.001823/0.001823, allocations: 193.8 kB / 16.67 MB, free: 5.531 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8438, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001829/0.8456, allocations: 0.6981 MB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.8465, allocations: 0.8372 MB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.8466, allocations: 0 / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.8466, allocations: 6.062 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.909e-05/0.8467, allocations: 8.5 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.8468, allocations: 22.92 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.082e-05/0.8469, allocations: 45.36 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.847, allocations: 12.27 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.8471, allocations: 23.31 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.8472, allocations: 29.52 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.8472, allocations: 4.188 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.8472, allocations: 8.375 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.8472, allocations: 12.34 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.8473, allocations: 18.2 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.8474, allocations: 43.97 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8474, allocations: 0.6562 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8474, allocations: 0 / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8474, allocations: 1.031 kB / 1.089 GB, free: 4.066 MB / 0.8575 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.0004334/0.8478, allocations: 353.5 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.8479, allocations: 10.06 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.8479, allocations: 36.52 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.8479, allocations: 3.797 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.8481, allocations: 175.4 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.8481, allocations: 10.5 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.8481, allocations: 10.67 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.8483, allocations: 68.58 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8483, allocations: 5.031 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.8483, allocations: 0 / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.8483, allocations: 1.094 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.8486, allocations: 57.39 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.8489, allocations: 282 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.8491, allocations: 71.31 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.8493, allocations: 33.77 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.8493, allocations: 0 / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.8493, allocations: 36.38 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.8493, allocations: 0 / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004153/0.8497, allocations: 114.8 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.8498, allocations: 53.3 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.8499, allocations: 108.3 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.8499, allocations: 26.73 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.8499, allocations: 86.67 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.8499, allocations: 18.56 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.85, allocations: 19.94 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.85, allocations: 317.2 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.8501, allocations: 22.75 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.8502, allocations: 32.42 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.8505, allocations: 50.8 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.8505, allocations: 0 / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002572/0.8507, allocations: 88.06 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8508, allocations: 5.406 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.8508, allocations: 0.6562 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8508, allocations: 5 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.8509, allocations: 13.06 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8509, allocations: 0 / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.851, allocations: 7.016 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.851, allocations: 6.281 kB / 1.091 GB, free: 2.211 MB / 0.8575 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 5.774e-05/0.8511, allocations: 113 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.8511, allocations: 6.328 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.8511, allocations: 9.391 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8511, allocations: 8.719 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8512, allocations: 0.8438 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.8512, allocations: 0.6562 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.8513, allocations: 173.8 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8513, allocations: 1.188 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.8514, allocations: 12.42 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8514, allocations: 5.891 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.8514, allocations: 0.7656 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8514, allocations: 1.25 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8515, allocations: 4.562 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.8517, allocations: 188 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.8518, allocations: 87.38 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.8518, allocations: 1.156 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.8519, allocations: 6.047 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.852, allocations: 16.33 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.852, allocations: 1.922 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.968e-05/0.852, allocations: 90.02 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.852, allocations: 0 / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002222/0.8522, allocations: 11.03 kB / 1.092 GB, free: 1.516 MB / 0.8575 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.0005624/0.8528, allocations: 0.7132 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.8531, allocations: 58.52 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8531, allocations: 0 / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.8532, allocations: 33.64 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.8536, allocations: 7.266 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.8553, allocations: 1.315 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.8556, allocations: 0.6805 MB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.8556, allocations: 4.328 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.8557, allocations: 22.08 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.8557, allocations: 4 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.8748, allocations: 1.837 MB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.642, allocations: 14.69 kB / 1.097 GB, free: 14.49 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,abs1.u,abs1.y Variables in the result:abs1.u,abs1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time