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.0007824/0.0007824, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004652/0.004652, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.326/2.326, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 16.12 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2374, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0007357/0.2382, allocations: 443.4 kB / 1.059 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.2389, allocations: 0.8391 MB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.239, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.239, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.007e-05/0.2391, allocations: 3.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.2392, allocations: 23.98 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.888e-05/0.2392, allocations: 43.84 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.2393, allocations: 15.98 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.777e-05/0.2394, allocations: 11.98 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.2395, allocations: 27.84 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2395, allocations: 0 / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.2395, allocations: 4 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.2395, allocations: 3.984 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.2395, allocations: 45.62 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.855e-05/0.2396, allocations: 47.8 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2396, allocations: 0 / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2396, allocations: 0 / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.2396, allocations: 0 / 1.06 GB, free: 3.344 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.0004004/0.24, allocations: 347.7 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2401, allocations: 11.97 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.2401, allocations: 42.73 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.939e-05/0.2402, allocations: 0.9375 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2403, allocations: 172.3 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2403, allocations: 12.3 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2403, allocations: 4.375 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.2405, allocations: 73.59 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.2405, allocations: 0 / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2405, allocations: 0 / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2405, allocations: 4 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.2407, allocations: 67.94 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.2411, allocations: 288.8 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.2413, allocations: 74.55 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2414, allocations: 32.84 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2414, allocations: 7.938 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.2415, allocations: 34.56 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2415, allocations: 0 / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003927/0.2419, allocations: 133.5 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2419, allocations: 51.41 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.242, allocations: 105.8 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.242, allocations: 29.69 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.242, allocations: 84.14 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.2421, allocations: 7.906 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.2421, allocations: 9.719 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.2422, allocations: 326.8 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2423, allocations: 31.92 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.2424, allocations: 27.97 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.2426, allocations: 68.81 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2426, allocations: 0 / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002326/0.2428, allocations: 101.8 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.2429, allocations: 8 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2429, allocations: 0 / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2429, allocations: 4.031 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.243, allocations: 19.97 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.243, allocations: 0 / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.2431, allocations: 8 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2431, allocations: 0 / 1.062 GB, free: 0.9648 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.388e-05/0.2432, allocations: 125.8 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2432, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.2432, allocations: 7.906 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2432, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2432, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2432, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2434, allocations: 181.6 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2434, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.2435, allocations: 11.98 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2435, allocations: 8 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2435, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2435, allocations: 3.938 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2435, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.2438, allocations: 199.6 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.2438, allocations: 81.05 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2438, allocations: 4 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.244, allocations: 15.98 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.244, allocations: 7.984 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.244, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.2441, allocations: 91.2 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2441, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002022/0.2443, allocations: 15.94 kB / 1.063 GB, free: 128 kB / 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.0005155/0.2448, allocations: 0.728 MB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.245, allocations: 71.94 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.245, allocations: 3.938 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.2452, allocations: 43.91 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2454, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.2467, allocations: 1.345 MB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.247, allocations: 0.6813 MB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.247, allocations: 8 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.2471, allocations: 15.42 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2471, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7058/0.9529, allocations: 1.506 MB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.9532, allocations: 211.6 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.747, allocations: 0 / 1.068 GB, free: 11.46 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