Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.0008066/0.0008066, 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.0008104/0.0008104, 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.8769/0.8769, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.715/1.715, allocations: 377.8 MB / 0.6221 GB, free: 8.637 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.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.981 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.236e-05, allocations: 4.812 kB / 0.981 GB, free: 2.473 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001454/0.001476, allocations: 0.6716 MB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002637, allocations: 0.8627 MB / 0.9825 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.002684, allocations: 0 / 0.9825 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.00272, allocations: 3.938 kB / 0.9825 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.002804, allocations: 7.938 kB / 0.9825 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.002991, allocations: 15.86 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.003066, allocations: 31.92 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.003165, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.003244, allocations: 11.98 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.003281, allocations: 11.98 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.003304, allocations: 4 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.003312, allocations: 0 / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.003329, allocations: 7.922 kB / 0.9826 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.00335, allocations: 8 kB / 0.9826 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.003427, allocations: 15.97 kB / 0.9826 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.00343, allocations: 0 / 0.9826 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003431, allocations: 0 / 0.9826 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003436, allocations: 4 kB / 0.9826 GB, free: 0.8047 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003534/0.003789, allocations: 262.3 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.00383, allocations: 8.031 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.00386, allocations: 34.75 kB / 0.9829 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.00388, allocations: 4.891 kB / 0.9829 GB, free: 472 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.003952, allocations: 109.8 kB / 0.983 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.003962, allocations: 384 / 0.983 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.003972, allocations: 8.312 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.004099, allocations: 50.17 kB / 0.9831 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.004108, allocations: 8.188 kB / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.004115, allocations: 384 / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004121, allocations: 4.125 kB / 0.9831 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.00421, allocations: 27.97 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.004496, allocations: 220.1 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.004588, allocations: 38.5 kB / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.004633, allocations: 20.91 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.004652, allocations: 3.984 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.004672, allocations: 42.5 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.004673, allocations: 3.938 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.000218/0.004891, allocations: 69.66 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.004923, allocations: 59.39 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.897e-05/0.004982, allocations: 97.86 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.004991, allocations: 29.77 kB / 0.9837 GB, free: 15.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.005031, allocations: 92.03 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.005049, allocations: 11.95 kB / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.005078, allocations: 13.7 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.005162, allocations: 314.8 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.005209, allocations: 15.98 kB / 0.9841 GB, free: 15.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.005245, allocations: 11.98 kB / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.005329, allocations: 44.88 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005331, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001112/0.005443, allocations: 69.61 kB / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.005463, allocations: 7.984 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.00547, allocations: 0 / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.005483, allocations: 0 / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.005554, allocations: 11.94 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005558, allocations: 0 / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.005585, allocations: 12.02 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.00559, allocations: 0 / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.03e-05/0.005651, allocations: 105.8 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.005665, allocations: 7.938 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.005692, allocations: 7.312 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.005697, allocations: 3.984 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.005702, allocations: 3.938 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.005707, allocations: 192 / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.005819, allocations: 128.8 kB / 0.9845 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.005822, allocations: 3.984 kB / 0.9845 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.005851, allocations: 11.98 kB / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.005854, allocations: 3.938 kB / 0.9845 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.00586, allocations: 0 / 0.9845 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005862, allocations: 4 kB / 0.9845 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005863, allocations: 0 / 0.9845 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.006019, allocations: 159.5 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.006027, allocations: 7.891 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.006039, allocations: 3.984 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.006076, allocations: 8.031 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.006116, allocations: 11.98 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.00612, allocations: 0 / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.00615, allocations: 79.28 kB / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00615, allocations: 0 / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001424/0.006292, allocations: 7.938 kB / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003307/0.006623, allocations: 0.689 MB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.006745, allocations: 47.92 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006747, allocations: 0 / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.006789, allocations: 19.98 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.007027, allocations: 4 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.00736, allocations: 126.5 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.007405, allocations: 67.47 kB / 0.9857 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.007424, allocations: 0 / 0.9857 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.007461, allocations: 12.5 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of SimCode: time 8.91e-07/0.007462, allocations: 0 / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.02261, allocations: 1.931 MB / 0.9876 GB, free: 11.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.73, allocations: 7.359 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.756370585411787]