Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008685/0.0008685, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8908/0.8908, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.527e-05, allocations: 10.22 kB / 0.981 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001318/0.001343, allocations: 0.6862 MB / 0.9817 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.002116, allocations: 0.8471 MB / 0.9825 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.002152, allocations: 0 / 0.9825 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.002179, allocations: 7.938 kB / 0.9825 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.002253, allocations: 15.86 kB / 0.9825 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.002414, allocations: 23.91 kB / 0.9825 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.00249, allocations: 43.92 kB / 0.9826 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.002599, allocations: 15.98 kB / 0.9826 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.002688, allocations: 27.91 kB / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.002759, allocations: 19.97 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.002786, allocations: 4 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.002797, allocations: 4 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.002818, allocations: 15.92 kB / 0.9827 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.002845, allocations: 15.98 kB / 0.9827 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002946, allocations: 55.72 kB / 0.9827 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.00295, allocations: 4 kB / 0.9827 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.243e-06/0.002951, allocations: 0 / 0.9827 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.002955, allocations: 0 / 0.9827 GB, free: 15.63 MB / 0.9011 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.0003792/0.003335, allocations: 278.2 kB / 0.983 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.003375, allocations: 8.031 kB / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.003406, allocations: 34.75 kB / 0.983 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.003428, allocations: 0.9375 kB / 0.983 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.003527, allocations: 121.7 kB / 0.9831 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.003541, allocations: 8.375 kB / 0.9832 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.003551, allocations: 384 / 0.9832 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.003697, allocations: 69.97 kB / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.003704, allocations: 0 / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.003714, allocations: 4 kB / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.003719, allocations: 0 / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.00383, allocations: 51.89 kB / 0.9833 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.004145, allocations: 243.9 kB / 0.9835 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.004277, allocations: 74.62 kB / 0.9836 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.004334, allocations: 28.91 kB / 0.9836 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.004349, allocations: 0 / 0.9836 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004367, allocations: 38.5 kB / 0.9836 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.004368, allocations: 0 / 0.9836 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002651/0.004633, allocations: 109.6 kB / 0.9837 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.004664, allocations: 55.41 kB / 0.9838 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.004796, allocations: 113.8 kB / 0.9839 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004807, allocations: 25.7 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.004843, allocations: 92.02 kB / 0.984 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.004861, allocations: 15.89 kB / 0.984 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.004889, allocations: 13.72 kB / 0.9841 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.004958, allocations: 326.8 kB / 0.9844 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.005017, allocations: 19.98 kB / 0.9844 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.005066, allocations: 27.91 kB / 0.9844 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.005169, allocations: 65.03 kB / 0.9845 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005171, allocations: 0 / 0.9845 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.005302, allocations: 85.64 kB / 0.9846 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.005314, allocations: 4 kB / 0.9846 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.00532, allocations: 0 / 0.9846 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.005334, allocations: 3.984 kB / 0.9846 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.005424, allocations: 15.98 kB / 0.9846 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005428, allocations: 4 kB / 0.9846 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.005459, allocations: 4 kB / 0.9846 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005465, allocations: 0 / 0.9846 GB, free: 13.54 MB / 0.9011 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 6.475e-05/0.00553, allocations: 125.7 kB / 0.9847 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.005545, allocations: 3.953 kB / 0.9847 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.005564, allocations: 4 kB / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.005568, allocations: 4 kB / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.005573, allocations: 0 / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.005576, allocations: 0 / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.005689, allocations: 136.7 kB / 0.9848 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.005692, allocations: 8.25 kB / 0.9849 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.005736, allocations: 15.97 kB / 0.9849 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005739, allocations: 4 kB / 0.9849 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.005746, allocations: 4 kB / 0.9849 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005747, allocations: 0 / 0.9849 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005748, allocations: 0 / 0.9849 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.005913, allocations: 183.4 kB / 0.985 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-06/0.005923, allocations: 7.891 kB / 0.9851 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.005934, allocations: 4 kB / 0.9851 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/0.005977, allocations: 7.984 kB / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.006025, allocations: 11.98 kB / 0.9851 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.00603, allocations: 4 kB / 0.9851 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.881e-05/0.006058, allocations: 83.28 kB / 0.9852 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.006058, allocations: 0 / 0.9852 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001441/0.006203, allocations: 11.94 kB / 0.9852 GB, free: 12.86 MB / 0.9011 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.0003533/0.006556, allocations: 0.7124 MB / 0.9859 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.006709, allocations: 59.89 kB / 0.9859 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.00671, allocations: 0 / 0.9859 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.006768, allocations: 31.97 kB / 0.986 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.007017, allocations: 14.06 kB / 0.986 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.008011, allocations: 1.335 MB / 0.9873 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.008051, allocations: 63.34 kB / 0.9873 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.008086, allocations: 7.984 kB / 0.9873 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.008136, allocations: 16.5 kB / 0.9874 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of SimCode: time 7.71e-07/0.008137, allocations: 4 kB / 0.9874 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.02481, allocations: 2.525 MB / 0.9898 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.886, allocations: 18.41 kB / 0.9898 GB, free: 8.094 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.906141890212893]