Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_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.004186/0.004186, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001205/0.001205, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.352/2.352, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2482, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001547/0.2498, allocations: 0.7024 MB / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.2506, allocations: 0.8471 MB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.2507, allocations: 0 / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.2507, allocations: 0 / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.2508, allocations: 7.922 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.2509, allocations: 19.92 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.987e-05/0.251, allocations: 47.91 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.2511, allocations: 19.98 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.2511, allocations: 19.91 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.2512, allocations: 23.92 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2512, allocations: 4 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.2513, allocations: 4 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.2513, allocations: 11.98 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.2513, allocations: 23.86 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.703e-05/0.2514, allocations: 44.08 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2514, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2514, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.2514, allocations: 4 kB / 1.168 GB, free: 5.508 MB / 0.92 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.0004712/0.2519, allocations: 355.3 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.252, allocations: 12.03 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.252, allocations: 30.75 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.252, allocations: 4.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2522, allocations: 176.3 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2522, allocations: 4.375 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2522, allocations: 4.125 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2524, allocations: 73.64 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.2524, allocations: 3.938 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.2524, allocations: 0 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2524, allocations: 0 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.2526, allocations: 55.94 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.253, allocations: 296.7 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.2532, allocations: 66.55 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2533, allocations: 32.91 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2533, allocations: 4 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2534, allocations: 30.56 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2534, allocations: 0 / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003842/0.2538, allocations: 117.7 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2538, allocations: 51.41 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2539, allocations: 109.8 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2539, allocations: 25.7 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.254, allocations: 92.12 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.254, allocations: 7.906 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.254, allocations: 21.72 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2542, allocations: 318.8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.2543, allocations: 27.98 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2544, allocations: 27.95 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.2546, allocations: 52.81 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2546, allocations: 3.938 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002345/0.2548, allocations: 85.66 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2548, allocations: 9.859 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.2548, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2548, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.255, allocations: 11.98 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.255, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.255, allocations: 4 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2551, allocations: 15.92 kB / 1.17 GB, free: 3.188 MB / 0.92 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.132e-05/0.2551, allocations: 109.8 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2552, allocations: 7.953 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.2552, allocations: 7.906 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2552, allocations: 3.938 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2552, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2552, allocations: 4 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2554, allocations: 173.6 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2554, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.364e-05/0.2555, allocations: 15.92 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2555, allocations: 4 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2555, allocations: 4 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2555, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2555, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.2558, allocations: 183.7 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.2558, allocations: 85 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2559, allocations: 15.98 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.256, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.256, allocations: 11.98 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.256, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.725e-05/0.2561, allocations: 91.2 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2561, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001973/0.2563, allocations: 8 kB / 1.171 GB, free: 2.371 MB / 0.92 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.0005823/0.2569, allocations: 0.7202 MB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2571, allocations: 56.17 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2571, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2573, allocations: 40.02 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.2575, allocations: 5.906 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.259, allocations: 1.319 MB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.2593, allocations: 0.6846 MB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.561e-05/0.2593, allocations: 8 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.2594, allocations: 15.44 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2594, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.421/0.6804, allocations: 1.817 MB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.31, allocations: 13.56 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches